Modifier and Type | Method and Description |
---|---|
protected Map<Resource,Set<Map<String,Object>>> |
QueryImpl.getJoinedResourceProperties(Set<String> propertyIds,
Resource parentResource,
String category)
Get a map of property sets keyed by the resources associated with this query.
|
Modifier and Type | Method and Description |
---|---|
protected Map<Resource,Set<Map<String,Object>>> |
QueryImpl.getJoinedResourceProperties(Set<String> propertyIds,
Resource parentResource,
String category)
Get a map of property sets keyed by the resources associated with this query.
|
Constructor and Description |
---|
ExtendedResourcePredicateVisitor(Map<Resource,Set<Map<String,Object>>> extendedProperties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceDefinition.PostProcessor.process(Request request,
TreeNode<Resource> resultNode,
String href) |
Modifier and Type | Method and Description |
---|---|
TreeNode<Resource> |
ResultImpl.getResultTree() |
TreeNode<Resource> |
Result.getResultTree()
Obtain the results of the request invocation as a Tree structure.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResultPostProcessorImpl.finalizeNode(TreeNode<Resource> node)
Allows subclasses to finalize node
|
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
GangliaReportPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Set<Resource> |
GangliaPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
protected String |
GangliaComponentPropertyProvider.getComponentName(Resource resource) |
protected abstract String |
GangliaPropertyProvider.getComponentName(Resource resource)
Get the component name for the given resource.
|
protected String |
GangliaHostPropertyProvider.getComponentName(Resource resource) |
protected String |
GangliaHostComponentPropertyProvider.getComponentName(Resource resource) |
protected Set<String> |
GangliaComponentPropertyProvider.getGangliaClusterNames(Resource resource,
String clusterName) |
protected abstract Set<String> |
GangliaPropertyProvider.getGangliaClusterNames(Resource resource,
String clusterName)
Get the ganglia cluster name for the given resource.
|
protected Set<String> |
GangliaHostPropertyProvider.getGangliaClusterNames(Resource resource,
String clusterName) |
protected Set<String> |
GangliaHostComponentPropertyProvider.getGangliaClusterNames(Resource resource,
String clusterName) |
protected String |
GangliaComponentPropertyProvider.getHostName(Resource resource) |
protected abstract String |
GangliaPropertyProvider.getHostName(Resource resource)
Get the host name for the given resource.
|
protected String |
GangliaHostPropertyProvider.getHostName(Resource resource) |
protected String |
GangliaHostComponentPropertyProvider.getHostName(Resource resource) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
GangliaReportPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Set<Resource> |
GangliaPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
GSInstallerResourceProvider.getResources(Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
protected void |
GSInstallerResourceProvider.addResource(Resource resource)
Add a resource to the set of resources provided by this provider.
|
void |
GSInstallerServiceProvider.updateProperties(Resource resource,
Request request,
Predicate predicate) |
abstract void |
GSInstallerResourceProvider.updateProperties(Resource resource,
Request request,
Predicate predicate)
Update the resource with any properties handled by the resource provider.
|
void |
GSInstallerNoOpProvider.updateProperties(Resource resource,
Request request,
Predicate predicate) |
void |
GSInstallerComponentProvider.updateProperties(Resource resource,
Request request,
Predicate predicate) |
void |
GSInstallerHostProvider.updateProperties(Resource resource,
Request request,
Predicate predicate) |
void |
GSInstallerClusterProvider.updateProperties(Resource resource,
Request request,
Predicate predicate) |
void |
GSInstallerHostComponentProvider.updateProperties(Resource resource,
Request request,
Predicate predicate) |
Modifier and Type | Class and Description |
---|---|
class |
ResourceImpl
Simple resource implementation.
|
Modifier and Type | Method and Description |
---|---|
Resource |
PageResponseImpl.getNextResource() |
Resource |
PageResponseImpl.getPreviousResource() |
Resource |
RequestStatusImpl.getRequestResource() |
protected Resource |
BlueprintResourceProvider.toResource(BlueprintEntity entity,
Set<String> requestedIds)
Create a resource instance from a blueprint entity.
|
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
JobResourceProvider.JobFetcher.fetchJobDetails(Set<String> requestedIds,
String clusterName,
String workflowId,
String jobId)
Fetch job resources.
|
Set<Resource> |
JobResourceProvider.PostgresJobFetcher.fetchJobDetails(Set<String> requestedIds,
String clusterName,
String workflowId,
String jobId) |
Set<Resource> |
TaskAttemptResourceProvider.TaskAttemptFetcher.fetchTaskAttemptDetails(Set<String> requestedIds,
String clusterName,
String workflowId,
String jobId,
String taskAttemptId)
Fetch task attempt resources
|
Set<Resource> |
TaskAttemptResourceProvider.PostgresTaskAttemptFetcher.fetchTaskAttemptDetails(Set<String> requestedIds,
String clusterName,
String workflowId,
String jobId,
String taskAttemptId) |
Set<Resource> |
WorkflowResourceProvider.WorkflowFetcher.fetchWorkflows(Set<String> requestedIds,
String clusterName,
String workflowId)
Fetch workflow resources.
|
Set<Resource> |
WorkflowResourceProvider.PostgresWorkflowFetcher.fetchWorkflows(Set<String> requestedIds,
String clusterName,
String workflowId) |
Set<Resource> |
RequestStatusImpl.getAssociatedResources() |
Comparator<Resource> |
PageRequestImpl.getComparator() |
protected Comparator<Resource> |
ClusterControllerImpl.getComparator()
Get the associated resource comparator.
|
Iterable<Resource> |
PageResponseImpl.getIterable() |
Iterable<Resource> |
ClusterControllerImpl.getIterable(Resource.Type type,
Set<Resource> providerResources,
Request request,
Predicate predicate) |
protected Iterable<Resource> |
ClusterControllerImpl.getResourceIterable(Resource.Type type,
Request request,
Predicate predicate)
Get an iterable set of resources filtered by the given request and
predicate objects.
|
Set<Resource> |
StackServiceResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ClusterResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ConfigurationResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
RootServiceHostComponentResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ReadOnlyResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
InstanceResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
RequestScheduleResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
StackServiceComponentResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ActionResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ServiceResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
JobResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ConfigGroupResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
RepositoryResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ViewInstanceResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
StackVersionResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
RootServiceResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
StackConfigurationResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
FeedResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
BlueprintResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
TargetClusterResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
HostResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ComponentResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
HostComponentResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
OperatingSystemResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
StackResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ViewResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
TaskAttemptResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
WorkflowResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
RequestResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
RootServiceComponentResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ClusterControllerImpl.getResources(Resource.Type type,
Request request,
Predicate predicate) |
Set<Resource> |
ClusterControllerImpl.populateResources(Resource.Type type,
Set<Resource> resources,
Request request,
Predicate predicate) |
Set<Resource> |
HttpProxyPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
This method only checks if an HTTP-type property should be fulfilled.
|
Set<Resource> |
StackDefinedPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
int |
ClusterControllerImpl.ResourceComparator.compare(Resource resource1,
Resource resource2) |
boolean |
ConfigGroupResourceProvider.evaluate(Predicate predicate,
Resource resource)
Bypassing predicate evaluation for the lack of a matcher for a
non-scalar resource
|
boolean |
DefaultResourcePredicateEvaluator.evaluate(Predicate predicate,
Resource resource) |
protected static Map<String,Object> |
FeedResourceProvider.getUpdateMap(Resource resource,
Map<String,Object> propertyMap)
Get a property map for an update based on an existing feed resource updated with the
given property map.
|
protected void |
AbstractJDBCResourceProvider.setInt(Resource resource,
String propertyId,
ResultSet rs,
Set<String> requestedIds)
Retrieves the db field corresponding to a property id from a result set as
an int and sets the resulting int as a resource property.
|
protected void |
AbstractJDBCResourceProvider.setLong(Resource resource,
String propertyId,
ResultSet rs,
Set<String> requestedIds)
Retrieves the db field corresponding to a property id from a result set as
a long and sets the resulting long as a resource property.
|
protected static boolean |
BaseProvider.setResourceProperty(Resource resource,
String propertyId,
Object value,
Set<String> requestedIds)
Set a property value on the given resource for the given id and value.
|
protected void |
AbstractJDBCResourceProvider.setString(Resource resource,
String propertyId,
ResultSet rs,
Set<String> requestedIds)
Retrieves the db field corresponding to a property id from a result set as
a string and sets the resulting string as a resource property.
|
protected BlueprintEntity |
BlueprintResourceProvider.toEntity(Resource resource)
Convert a resource to a blueprint entity.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Resource> |
ClusterControllerImpl.getIterable(Resource.Type type,
Set<Resource> providerResources,
Request request,
Predicate predicate) |
PageResponse |
ClusterControllerImpl.getPage(Resource.Type type,
Set<Resource> providerResources,
Request request,
Predicate predicate,
PageRequest pageRequest) |
protected RequestStatus |
AbstractResourceProvider.getRequestStatus(RequestStatusResponse response,
Set<Resource> associatedResources)
Get a request status
|
Set<Resource> |
ClusterControllerImpl.populateResources(Resource.Type type,
Set<Resource> resources,
Request request,
Predicate predicate) |
Set<Resource> |
HttpProxyPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
This method only checks if an HTTP-type property should be fulfilled.
|
Set<Resource> |
StackDefinedPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Constructor and Description |
---|
PageResponseImpl(Iterable<Resource> iterable,
int offset,
Resource previousResource,
Resource nextResource) |
RequestStatusImpl(Resource requestResource) |
RequestStatusImpl(Resource requestResource,
Set<Resource> associatedResources) |
ResourceImpl(Resource resource)
Copy constructor
|
ResourceImpl(Resource resource,
Set<String> propertyIds)
Construct a resource from the given resource, setting only the properties
that are found in the given set of property and category ids.
|
Constructor and Description |
---|
PageRequestImpl(PageRequest.StartingPoint startingPoint,
int pageSize,
int offset,
Predicate predicate,
Comparator<Resource> comparator) |
PageResponseImpl(Iterable<Resource> iterable,
int offset,
Resource previousResource,
Resource nextResource) |
RequestStatusImpl(Resource requestResource,
Set<Resource> associatedResources) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
JDBCResourceProvider.getResources(Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
JMXPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
JMXPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
NagiosPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
NagiosPropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
GreaterPredicate.evaluate(Resource resource) |
boolean |
OrPredicate.evaluate(Resource resource) |
boolean |
NotPredicate.evaluate(Resource resource) |
boolean |
LessEqualsPredicate.evaluate(Resource resource) |
boolean |
EqualsPredicate.evaluate(Resource resource) |
boolean |
LessPredicate.evaluate(Resource resource) |
boolean |
CategoryIsEmptyPredicate.evaluate(Resource resource) |
boolean |
AlwaysPredicate.evaluate(Resource resource) |
boolean |
AndPredicate.evaluate(Resource resource) |
boolean |
GreaterEqualsPredicate.evaluate(Resource resource) |
Modifier and Type | Method and Description |
---|---|
Resource |
PageResponse.getNextResource()
Get the next resource after this page.
|
Resource |
PageResponse.getPreviousResource()
Get the last resource before this page.
|
Resource |
RequestStatus.getRequestResource()
Get the resource of type request for the asynchronous request.
|
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
RequestStatus.getAssociatedResources()
Get the resources involved in the operation initiated by the request.
|
Comparator<Resource> |
PageRequest.getComparator()
Get the comparator used to order the page request.
|
Iterable<Resource> |
PageResponse.getIterable()
Get the iterable set of resources for the page.
|
Iterable<Resource> |
ClusterController.getIterable(Resource.Type type,
Set<Resource> providerResources,
Request request,
Predicate predicate)
Get an iterable set of resources from the given set of resources filtered by the
given request and predicate objects.
|
Set<Resource> |
ResourceProvider.getResources(Request request,
Predicate predicate)
Get a set of
resources based on the given request and predicate
information. |
Set<Resource> |
ClusterController.getResources(Resource.Type type,
Request request,
Predicate predicate)
Get the resources of the given type filtered by the given request and
predicate objects.
|
Set<Resource> |
ClusterController.populateResources(Resource.Type type,
Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given resources from the associated property providers.
|
Set<Resource> |
PropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given set of resource with any properties that this property
provider can provide and return a populated set of resources.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResourcePredicateEvaluator.evaluate(Predicate predicate,
Resource resource)
Evaluate the given predicate for the given resource.
|
boolean |
Predicate.evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Resource> |
ClusterController.getIterable(Resource.Type type,
Set<Resource> providerResources,
Request request,
Predicate predicate)
Get an iterable set of resources from the given set of resources filtered by the
given request and predicate objects.
|
PageResponse |
ClusterController.getPage(Resource.Type type,
Set<Resource> providerResources,
Request request,
Predicate predicate,
PageRequest pageRequest)
Get a page of resources from the given set filtered by the given request,
predicate objects and page request.
|
Set<Resource> |
ClusterController.populateResources(Resource.Type type,
Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given resources from the associated property providers.
|
Set<Resource> |
PropertyProvider.populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given set of resource with any properties that this property
provider can provide and return a populated set of resources.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
PropertyHelper.getProperties(Resource resource)
Get a map of all the property values keyed by property id for the given resource.
|
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
ViewExternalSubResourceProvider.getResources(Request request,
Predicate predicate) |
Set<Resource> |
ViewSubResourceProvider.getResources(Request request,
Predicate predicate) |
Copyright © 2014. All rights reserved.