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.

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, Executor availCollectorThreadPool, PluginContainerDeployment pluginContainerDeployment)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 ResourceContext<?> getParentResourceContext()
           
 Configuration getResourceConfiguration()
           
 
Methods inherited from class org.rhq.core.pluginapi.inventory.ResourceContext
createAvailabilityCollectorRunnable, getContentContext, getDataDirectory, getEventContext, getNativeProcess, getNativeProcessesForType, getOperationContext, getParentResourceComponent, getPluginConfiguration, getPluginContainerDeployment, getPluginContainerName, 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,
                              Executor availCollectorThreadPool,
                              PluginContainerDeployment pluginContainerDeployment)
See Also:
ResourceContext.ResourceContext(Resource, ResourceComponent, ResourceDiscoveryComponent, SystemInfo, File, File, String, EventContext, OperationContext, ContentContext, Executor, PluginContainerDeployment)
Method Detail

getParentResourceContext

public ResourceContext<?> getParentResourceContext()

getResourceConfiguration

public Configuration getResourceConfiguration()

getName

public String getName()

getDescription

public String getDescription()


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