public class ResourceUpgradeContext<T extends ResourceComponent<?>> extends ResourceContext<T>
ResourceUpgradeFacet| Constructor and Description |
|---|
ResourceUpgradeContext(org.rhq.core.domain.resource.Resource resource,
ResourceContext<?> parentResourceContext,
T parentResourceComponent,
ResourceDiscoveryComponent<T> resourceDiscoveryComponent,
SystemInfo systemInfo,
File temporaryDirectory,
File baseDataDirectory,
String pluginContainerName,
EventContext eventContext,
OperationContext operationContext,
ContentContext contentContext,
AvailabilityContext availabilityContext,
InventoryContext inventoryContext,
PluginContainerDeployment pluginContainerDeployment) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getName() |
ResourceContext<?> |
getParentResourceContext()
Returns the resource context of the parent resource or null if there is no parent resource.
|
org.rhq.core.domain.configuration.Configuration |
getResourceConfiguration() |
String |
getVersion()
The
version of the resource this context is associated with. |
createAvailabilityCollectorRunnable, getAvailabilityContext, getComponentInvocationContext, getContentContext, getDataDirectory, getEventContext, getFutureChildResourceDataDirectory, getInventoryContext, getNativeProcess, getNativeProcessesForType, getOperationContext, getParentResourceComponent, getPluginConfiguration, getPluginContainerDeployment, getPluginContainerName, getResourceDataDirectory, getResourceDetails, getResourceKey, getResourceType, getSystemInformation, getTemporaryDirectorypublic ResourceUpgradeContext(org.rhq.core.domain.resource.Resource resource,
ResourceContext<?> parentResourceContext,
T parentResourceComponent,
ResourceDiscoveryComponent<T> resourceDiscoveryComponent,
SystemInfo systemInfo,
File temporaryDirectory,
File baseDataDirectory,
String pluginContainerName,
EventContext eventContext,
OperationContext operationContext,
ContentContext contentContext,
AvailabilityContext availabilityContext,
InventoryContext inventoryContext,
PluginContainerDeployment pluginContainerDeployment)
public ResourceContext<?> getParentResourceContext()
ResourceContext
(This method is protected to be able to share that information with the ResourceUpgradeContext
but at the same time to not pollute the ResourceContext public API with data that doesn't belong
to it).
getParentResourceContext in class ResourceContext<T extends ResourceComponent<?>>public org.rhq.core.domain.configuration.Configuration getResourceConfiguration()
public String getName()
public String getDescription()
public String getVersion()
ResourceContextversion of the resource this context is associated with.getVersion in class ResourceContext<T extends ResourceComponent<?>>Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.