public class GSInstallerHostComponentProvider extends GSInstallerResourceProvider
Modifier and Type | Field and Description |
---|---|
protected static String |
HOST_COMPONENT_CLUSTER_NAME_PROPERTY_ID |
protected static String |
HOST_COMPONENT_COMPONENT_NAME_PROPERTY_ID |
protected static String |
HOST_COMPONENT_DESIRED_STATE_PROPERTY_ID |
protected static String |
HOST_COMPONENT_HOST_NAME_PROPERTY_ID |
protected static String |
HOST_COMPONENT_SERVICE_NAME_PROPERTY_ID |
protected static String |
HOST_COMPONENT_STATE_PROPERTY_ID |
Constructor and Description |
---|
GSInstallerHostComponentProvider(ClusterDefinition clusterDefinition)
Construct a resource provider based on the given cluster definition.
|
Modifier and Type | Method and Description |
---|---|
void |
updateProperties(Resource resource,
Request request,
Predicate predicate)
Update the resource with any properties handled by the resource provider.
|
addResource, checkPropertyIds, contains, createResources, deleteResources, getClusterDefinition, getKeyPropertyIds, getRequestPropertyIds, getResourceProvider, getResources, getType, updateResources
protected static final String HOST_COMPONENT_CLUSTER_NAME_PROPERTY_ID
protected static final String HOST_COMPONENT_SERVICE_NAME_PROPERTY_ID
protected static final String HOST_COMPONENT_COMPONENT_NAME_PROPERTY_ID
protected static final String HOST_COMPONENT_HOST_NAME_PROPERTY_ID
protected static final String HOST_COMPONENT_STATE_PROPERTY_ID
protected static final String HOST_COMPONENT_DESIRED_STATE_PROPERTY_ID
public GSInstallerHostComponentProvider(ClusterDefinition clusterDefinition)
clusterDefinition
- the cluster definitionpublic void updateProperties(Resource resource, Request request, Predicate predicate)
GSInstallerResourceProvider
updateProperties
in class GSInstallerResourceProvider
resource
- the resource to updaterequest
- the requestpredicate
- the predicateCopyright © 2017. All rights reserved.