public abstract class AbstractControllerResourceProvider extends AbstractResourceProvider
AbstractResourceProvider.Command<T>LOG| Modifier | Constructor and Description |
|---|---|
protected |
AbstractControllerResourceProvider(Set<String> propertyIds,
Map<Resource.Type,String> keyPropertyIds,
AmbariManagementController managementController)
Create a new resource provider for the given management controller.
|
| Modifier and Type | Method and Description |
|---|---|
protected AmbariManagementController |
getManagementController()
Get the associated management controller.
|
protected static Object |
getQueryParameterValue(String queryParameterId,
Predicate predicate)
Extracting given query_parameter value from the predicate
|
static ResourceProvider |
getResourceProvider(Resource.Type type,
Set<String> propertyIds,
Map<Resource.Type,String> keyPropertyIds,
AmbariManagementController managementController)
Factory method for obtaining a resource provider based on a given type and management controller.
|
static void |
init(ResourceProviderFactory factory) |
addObserver, createResources, getConfigurationRequest, getKeyPropertyIds, getPKPropertyIds, getPropertyMaps, getPropertyMaps, getRequestStatus, getRequestStatus, getResources, modifyResources, notifyCreate, notifyDelete, notifyUpdate, updateObserverscheckConfigPropertyIds, checkPropertyIds, containsArguments, getPropertyIds, getRegexGroups, getRegExpKey, getRequestPropertyIds, isPatternKey, setResourcePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPropertyIds, createResources, deleteResources, getResources, updateResourcesprotected AbstractControllerResourceProvider(Set<String> propertyIds, Map<Resource.Type,String> keyPropertyIds, AmbariManagementController managementController)
propertyIds - the property idskeyPropertyIds - the key property idsmanagementController - the management controllerpublic static void init(ResourceProviderFactory factory)
protected AmbariManagementController getManagementController()
public static ResourceProvider getResourceProvider(Resource.Type type, Set<String> propertyIds, Map<Resource.Type,String> keyPropertyIds, AmbariManagementController managementController)
type - the resource typepropertyIds - the property idsmanagementController - the management controllerCopyright © 2016. All rights reserved.