public class StackDefinedPropertyProvider extends Object implements PropertyProvider
| Constructor and Description |
|---|
StackDefinedPropertyProvider(Resource.Type type,
JMXHostProvider jmxHostProvider,
GangliaHostProvider gangliaHostProvider,
StreamProvider streamProvider,
String clusterPropertyId,
String hostPropertyId,
String componentPropertyId,
String jmxStatePropertyId,
PropertyProvider defaultJmxPropertyProvider,
PropertyProvider defaultGangliaPropertyProvider) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
checkPropertyIds(Set<String> propertyIds)
Check whether the set of given property ids is supported by this resource
provider.
|
static void |
init(com.google.inject.Injector injector) |
Set<Resource> |
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.
|
public StackDefinedPropertyProvider(Resource.Type type, JMXHostProvider jmxHostProvider, GangliaHostProvider gangliaHostProvider, StreamProvider streamProvider, String clusterPropertyId, String hostPropertyId, String componentPropertyId, String jmxStatePropertyId, PropertyProvider defaultJmxPropertyProvider, PropertyProvider defaultGangliaPropertyProvider)
@Inject public static void init(com.google.inject.Injector injector)
public Set<Resource> populateResources(Set<Resource> resources, Request request, Predicate predicate) throws SystemException
PropertyProviderpopulateResources in interface PropertyProviderresources - the resources to be populatedrequest - the request object which defines the desired set of propertiespredicate - the predicate object which filters which resources are returnedSystemException - thrown if resources cannot be populatedpublic Set<String> checkPropertyIds(Set<String> propertyIds)
PropertyProvidercheckPropertyIds in interface PropertyProviderCopyright © 2016. All rights reserved.