org.rhq.core.pluginapi.upgrade
Class ResourceUpgradeContext<T extends ResourceComponent<?>>

java.lang.Object
  extended by org.rhq.core.pluginapi.inventory.ResourceContext<T>
      extended by org.rhq.core.pluginapi.upgrade.ResourceUpgradeContext<T>

public class ResourceUpgradeContext<T extends ResourceComponent<?>>
extends ResourceContext<T>

Represents a resource during the resource upgrade phase of discovery.

Since:
3.0
See Also:
ResourceUpgradeFacet

Constructor Summary
ResourceUpgradeContext(Resource resource, ResourceContext<?> parentResourceContext, T parentResourceComponent, ResourceDiscoveryComponent<T> resourceDiscoveryComponent, SystemInfo systemInfo, File temporaryDirectory, File dataDirectory, String pluginContainerName, EventContext eventContext, OperationContext operationContext, ContentContext contentContext, AvailabilityContext availabilityContext, PluginContainerDeployment pluginContainerDeployment)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 ResourceContext<?> getParentResourceContext()
          Returns the context of the Resource component's parent Resource component.
 Configuration getResourceConfiguration()
           
 
Methods inherited from class org.rhq.core.pluginapi.inventory.ResourceContext
createAvailabilityCollectorRunnable, getAvailabilityContext, getContentContext, getDataDirectory, getEventContext, getFutureChildResourceDataDirectory, getNativeProcess, getNativeProcessesForType, getOperationContext, getParentResourceComponent, getPluginConfiguration, getPluginContainerDeployment, getPluginContainerName, getResourceDataDirectory, getResourceKey, getResourceType, getSystemInformation, getTemporaryDirectory, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceUpgradeContext

public ResourceUpgradeContext(Resource resource,
                              ResourceContext<?> parentResourceContext,
                              T parentResourceComponent,
                              ResourceDiscoveryComponent<T> resourceDiscoveryComponent,
                              SystemInfo systemInfo,
                              File temporaryDirectory,
                              File dataDirectory,
                              String pluginContainerName,
                              EventContext eventContext,
                              OperationContext operationContext,
                              ContentContext contentContext,
                              AvailabilityContext availabilityContext,
                              PluginContainerDeployment pluginContainerDeployment)
Since:
4.0
See Also:
ResourceContext#ResourceContext(org.rhq.core.domain.resource.Resource, org.rhq.core.pluginapi.inventory.ResourceComponent, org.rhq.core.pluginapi.inventory.ResourceContext, org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent, org.rhq.core.system.SystemInfo, java.io.File, java.io.File, String, org.rhq.core.pluginapi.event.EventContext, org.rhq.core.pluginapi.operation.OperationContext, org.rhq.core.pluginapi.content.ContentContext, java.util.concurrent.Executor, org.rhq.core.pluginapi.inventory.PluginContainerDeployment)
Method Detail

getParentResourceContext

public ResourceContext<?> getParentResourceContext()
Returns the context of the Resource component's parent Resource component.

Overrides:
getParentResourceContext in class ResourceContext<T extends ResourceComponent<?>>
Returns:
the context of the Resource component's parent Resource component
Since:
4.0

getResourceConfiguration

public Configuration getResourceConfiguration()

getName

public String getName()

getDescription

public String getDescription()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.