Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
F
G
H
I
L
M
N
O
P
R
S
U
V
C
CONTEXT_ATTRIBUTE
- Static variable in interface org.apache.ambari.view.
ViewContext
Key for mapping a view context as a property.
createResource(String, Map<String, Object>)
- Method in interface org.apache.ambari.view.
ResourceProvider
Create a resource with the given id and given property values.
D
DataStore
- Interface in
org.apache.ambari.view
View data store.
deleteResource(String)
- Method in interface org.apache.ambari.view.
ResourceProvider
Delete the resource identified by the given resource id.
doAs(HttpURLConnection, String)
- Method in interface org.apache.ambari.view.
HttpImpersonator
doAs(HttpURLConnection, String, String, String)
- Method in interface org.apache.ambari.view.
HttpImpersonator
E
Event
- Interface in
org.apache.ambari.view.events
View event interface.
F
find(Class<T>, Object)
- Method in interface org.apache.ambari.view.
DataStore
Find the entity of the given class type that is uniquely identified by the given primary key.
findAll(Class<T>, String)
- Method in interface org.apache.ambari.view.
DataStore
Find all the entities for the given where clause.
fireEvent(String, Map<String, String>)
- Method in interface org.apache.ambari.view.
ViewController
Notify all listeners registered to listen to this view of the given view event.
G
getAmbariProperty(String)
- Method in interface org.apache.ambari.view.
ViewContext
Get a property for the given key from the ambari configuration.
getController()
- Method in interface org.apache.ambari.view.
ViewContext
Get a view controller associated with this context.
getDataStore()
- Method in interface org.apache.ambari.view.
ViewContext
Get a data store for view persistence entities.
getDescription()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the view description.
getDescription()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the view instance description.
getDoAsParamName()
- Method in interface org.apache.ambari.view.
ImpersonatorSetting
getEndTime()
- Method in interface org.apache.ambari.view.
ReadRequest.TemporalInfo
Get the end of the requested time range.
getHttpImpersonator()
- Method in interface org.apache.ambari.view.
ViewContext
Get the HTTP Impersonator.
getId()
- Method in interface org.apache.ambari.view.events.
Event
Get the event identifier.
getImpersonatorSetting()
- Method in interface org.apache.ambari.view.
ViewContext
Get the default settings for the Impersonator.
getInstanceData(String)
- Method in interface org.apache.ambari.view.
ViewContext
Get the instance data value for the given key.
getInstanceData()
- Method in interface org.apache.ambari.view.
ViewContext
Get the instance data values.
getInstanceDataMap()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the view instance application data.
getInstanceName()
- Method in interface org.apache.ambari.view.
ViewContext
Get the view instance name.
getInstanceName()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the name of this instance.
getLabel()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the view label (display name).
getLabel()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the view instance label (display name).
getMask()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the mask class name.
getPredicate()
- Method in interface org.apache.ambari.view.
ReadRequest
Get the predicate.
getProperties()
- Method in interface org.apache.ambari.view.events.
Event
Get the event properties.
getProperties()
- Method in interface org.apache.ambari.view.
ViewContext
Get the property values specified to create the view instance.
getPropertyIds()
- Method in interface org.apache.ambari.view.
ReadRequest
Get the requested property ids.
getPropertyIds()
- Method in exception org.apache.ambari.view.
UnsupportedPropertyException
Get the unsupported property ids.
getPropertyMap()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the instance property map.
getResource(String, Set<String>)
- Method in interface org.apache.ambari.view.
ResourceProvider
Get a single resource from the given id.
getResourceId()
- Method in exception org.apache.ambari.view.
NoSuchResourceException
Get the id of the non-existent resource.
getResourceId()
- Method in exception org.apache.ambari.view.
ResourceAlreadyExistsException
Get the id of the non-existent resource.
getResourceProvider(String)
- Method in interface org.apache.ambari.view.
ViewContext
Get the view resource provider for the given resource type.
getResources(ReadRequest)
- Method in interface org.apache.ambari.view.
ResourceProvider
Get all of the resources.
getStartTime()
- Method in interface org.apache.ambari.view.
ReadRequest.TemporalInfo
Get the start of the requested time range.
getStatus()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the view status.
getStatusDetail()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the view status detail.
getStep()
- Method in interface org.apache.ambari.view.
ReadRequest.TemporalInfo
Get the requested time between each data point of the temporal data.
getTemporalInfo(String)
- Method in interface org.apache.ambari.view.
ReadRequest
Get the temporal information for the given property id for this request, if any.
getType()
- Method in exception org.apache.ambari.view.
UnsupportedPropertyException
Get the resource type.
getURLStreamProvider()
- Method in interface org.apache.ambari.view.
ViewContext
Get a URL stream provider.
getUsername()
- Method in interface org.apache.ambari.view.
ImpersonatorSetting
getUsername()
- Method in interface org.apache.ambari.view.
ViewContext
Get the current user name.
getVersion()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the view version.
getViewDefinition()
- Method in interface org.apache.ambari.view.
ViewContext
Get the view definition associated with this context.
getViewDefinition()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the associated view definition.
getViewDefinitions()
- Method in interface org.apache.ambari.view.
ViewContext
Get all of the available view definitions.
getViewInstanceDefinition()
- Method in interface org.apache.ambari.view.
ViewContext
Get the view instance definition associated with this context.
getViewInstanceDefinitions()
- Method in interface org.apache.ambari.view.
ViewContext
Get all of the available view instance definitions.
getViewInstanceSubject()
- Method in interface org.apache.ambari.view.events.
Event
Get the instance subject of the event.
getViewName()
- Method in interface org.apache.ambari.view.
ViewContext
Get the view name.
getViewName()
- Method in interface org.apache.ambari.view.
ViewDefinition
Get the view name.
getViewName()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Get the view name.
getViewSubject()
- Method in interface org.apache.ambari.view.events.
Event
Get the view subject of the event.
H
handleRequest(HttpHeaders, UriInfo, ViewResourceHandler.RequestType, ViewResourceHandler.MediaType, String)
- Method in interface org.apache.ambari.view.
ViewResourceHandler
Handle the API request for the given request and media type.
handleRequest(HttpHeaders, UriInfo, String)
- Method in interface org.apache.ambari.view.
ViewResourceHandler
Handle the API request with a request type of GET and media type of TEXT_PLAIN.
hasPermission(String, String)
- Method in interface org.apache.ambari.view.
ViewContext
Determine whether or not the access specified by the given permission name is permitted for the given user.
HttpImpersonator
- Interface in
org.apache.ambari.view
Interface for views to impersonate users over HTTP request.
I
ImpersonatorSetting
- Interface in
org.apache.ambari.view
Interface that provides default values for impersonating, such as the username and doAs parameter name.
isVisible()
- Method in interface org.apache.ambari.view.
ViewInstanceDefinition
Indicates whether or not the view instance should be visible.
L
Listener
- Interface in
org.apache.ambari.view.events
Listener interface for view events.
M
mask(String)
- Method in interface org.apache.ambari.view.
Masker
Get a masked version of the given string.
Masker
- Interface in
org.apache.ambari.view
Masker for view parameters.
MaskException
- Exception in
org.apache.ambari.view
Indicates that a mask exception occurred.
MaskException(String, Throwable)
- Constructor for exception org.apache.ambari.view.
MaskException
Constructor.
N
NoSuchResourceException
- Exception in
org.apache.ambari.view
Indicates that a resource doesn't exist.
NoSuchResourceException(String)
- Constructor for exception org.apache.ambari.view.
NoSuchResourceException
Constructor.
notify(Event)
- Method in interface org.apache.ambari.view.events.
Listener
Notify this listener of the given event.
O
onCreate(ViewInstanceDefinition)
- Method in interface org.apache.ambari.view.
View
Called by the view framework when the given instance is being created.
onDeploy(ViewDefinition)
- Method in interface org.apache.ambari.view.
View
Called by the view framework when the given view is being deployed.
onDestroy(ViewInstanceDefinition)
- Method in interface org.apache.ambari.view.
View
Called by the view framework when the given instance is being destroyed.
org.apache.ambari.view
- package org.apache.ambari.view
org.apache.ambari.view.events
- package org.apache.ambari.view.events
P
PersistenceException
- Exception in
org.apache.ambari.view
View persistence exception.
PersistenceException(String)
- Constructor for exception org.apache.ambari.view.
PersistenceException
Constructor.
PersistenceException(String, Throwable)
- Constructor for exception org.apache.ambari.view.
PersistenceException
Constructor.
putInstanceData(String, String)
- Method in interface org.apache.ambari.view.
ViewContext
Save an instance data value for the given key.
R
readFrom(String, String, String, Map<String, String>)
- Method in interface org.apache.ambari.view.
URLStreamProvider
Read from the input stream specified by the given URL spec.
ReadRequest
- Interface in
org.apache.ambari.view
Information passed to a read request.
ReadRequest.TemporalInfo
- Interface in
org.apache.ambari.view
Temporal query data.
registerListener(Listener, String)
- Method in interface org.apache.ambari.view.
ViewController
Register a listener to listen for events from the view identified by the given name.
registerListener(Listener, String, String)
- Method in interface org.apache.ambari.view.
ViewController
Register a listener to listen for events from the view identified by the given name and version.
remove(Object)
- Method in interface org.apache.ambari.view.
DataStore
Remove the given entity from persistent storage.
removeInstanceData(String)
- Method in interface org.apache.ambari.view.
ViewContext
Remove the instance data value for the given key.
requestURL(String, String, ImpersonatorSetting)
- Method in interface org.apache.ambari.view.
HttpImpersonator
Returns the result of the HTTP request by setting the "doAs" impersonation for the query param and username in @param impersonatorSetting.
ResourceAlreadyExistsException
- Exception in
org.apache.ambari.view
Indicates that a resource already exists.
ResourceAlreadyExistsException(String)
- Constructor for exception org.apache.ambari.view.
ResourceAlreadyExistsException
Constructor.
ResourceProvider
<
T
> - Interface in
org.apache.ambari.view
Class used to access view sub-resources.
S
SecurityException
- Exception in
org.apache.ambari.view
Indicates that a view security exception occurred.
SecurityException(String)
- Constructor for exception org.apache.ambari.view.
SecurityException
Constructor.
SecurityException(String, Throwable)
- Constructor for exception org.apache.ambari.view.
SecurityException
Constructor.
store(Object)
- Method in interface org.apache.ambari.view.
DataStore
Save the given entity to persistent storage.
SystemException
- Exception in
org.apache.ambari.view
Indicates that a system exception occurred.
SystemException(String, Throwable)
- Constructor for exception org.apache.ambari.view.
SystemException
Constructor.
U
unmask(String)
- Method in interface org.apache.ambari.view.
Masker
Get the original string from a masked string.
unregisterListener(Listener, String)
- Method in interface org.apache.ambari.view.
ViewController
Un-register the listener that is registered for the view identified by the given name.
unregisterListener(Listener, String, String)
- Method in interface org.apache.ambari.view.
ViewController
Un-register the listener that is registered for the view identified by the given name and version.
UnsupportedPropertyException
- Exception in
org.apache.ambari.view
Thrown to indicate that the requested properties are not supported for the associated resource type.
UnsupportedPropertyException(String, Set<String>)
- Constructor for exception org.apache.ambari.view.
UnsupportedPropertyException
Construct an UnsupportedPropertyException.
updateResource(String, Map<String, Object>)
- Method in interface org.apache.ambari.view.
ResourceProvider
Update the resource identified by given resource id with the given property values.
URLStreamProvider
- Interface in
org.apache.ambari.view
Provider of a URL stream.
V
valueOf(String)
- Static method in enum org.apache.ambari.view.
ViewDefinition.ViewStatus
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.apache.ambari.view.
ViewResourceHandler.MediaType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.apache.ambari.view.
ViewResourceHandler.RequestType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.apache.ambari.view.
ViewDefinition.ViewStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.apache.ambari.view.
ViewResourceHandler.MediaType
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.apache.ambari.view.
ViewResourceHandler.RequestType
Returns an array containing the constants of this enum type, in the order they are declared.
View
- Interface in
org.apache.ambari.view
Interface for main view class.
ViewContext
- Interface in
org.apache.ambari.view
Context object available to the view components to provide access to the view and instance attributes as well as run time information about the current execution context.
ViewController
- Interface in
org.apache.ambari.view
View controller.
ViewDefinition
- Interface in
org.apache.ambari.view
The view definition.
ViewDefinition.ViewStatus
- Enum in
org.apache.ambari.view
View status
ViewInstanceDefinition
- Interface in
org.apache.ambari.view
The view instance definition.
ViewResourceHandler
- Interface in
org.apache.ambari.view
Handler object available to the view components used to allow the API framework to handle the request.
ViewResourceHandler.MediaType
- Enum in
org.apache.ambari.view
Supported media types.
ViewResourceHandler.RequestType
- Enum in
org.apache.ambari.view
Request types.
C
D
E
F
G
H
I
L
M
N
O
P
R
S
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2015
Apache Software Foundation
. All rights reserved.