| Package | Description |
|---|---|
| org.rhq.core.pluginapi.content | |
| org.rhq.core.pluginapi.inventory | |
| org.rhq.core.pluginapi.upgrade |
| Modifier and Type | Method and Description |
|---|---|
long |
ContentServices.downloadPackageBits(ContentContext context,
org.rhq.core.domain.content.PackageDetailsKey packageDetailsKey,
OutputStream outputStream,
boolean resourceExists)
Requests that the plugin container download and stream the bits for the specified package.
|
long |
ContentServices.downloadPackageBitsForChildResource(ContentContext context,
String childResourceTypeName,
org.rhq.core.domain.content.PackageDetailsKey key,
OutputStream outputStream)
Requests the plugin container download and stream the bits for the specified package.
|
long |
ContentServices.downloadPackageBitsRange(ContentContext context,
org.rhq.core.domain.content.PackageDetailsKey packageDetailsKey,
OutputStream outputStream,
long startByte,
long endByte,
boolean resourceExists)
Requests that the plugin container download and stream the bits for the specified package.
|
long |
ContentServices.getPackageBitsLength(ContentContext context,
org.rhq.core.domain.content.PackageDetailsKey packageDetailsKey)
Requests the size, in bytes, of the identified package version.
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.content.composite.PackageVersionMetadataComposite> |
ContentServices.getPackageVersionMetadata(ContentContext context,
org.rhq.core.domain.util.PageControl pc)
Requests all
metadata for all package versions that the calling resource
component is subscribed to see. |
String |
ContentServices.getResourceSubscriptionMD5(ContentContext context)
Gets the MD5 hash which identifies a resource "content subscription".
|
| Modifier and Type | Method and Description |
|---|---|
ContentContext |
ResourceContext.getContentContext()
Returns a
ContentContext that allows the plugin to access the content functionality provided by the
plugin container. |
| Constructor and Description |
|---|
ResourceContext(org.rhq.core.domain.resource.Resource resource,
T parentResourceComponent,
ResourceContext<?> parentResourceContext,
ResourceDiscoveryComponent<T> resourceDiscoveryComponent,
SystemInfo systemInfo,
File temporaryDirectory,
File baseDataDirectory,
String pluginContainerName,
EventContext eventContext,
OperationContext operationContext,
ContentContext contentContext,
AvailabilityContext availabilityContext,
InventoryContext inventoryContext,
PluginContainerDeployment pluginContainerDeployment)
Deprecated.
as of RHQ 4.9.
|
ResourceContext(org.rhq.core.domain.resource.Resource resource,
T parentResourceComponent,
ResourceContext<?> parentResourceContext,
ResourceDiscoveryComponent<T> resourceDiscoveryComponent,
SystemInfo systemInfo,
File temporaryDirectory,
File baseDataDirectory,
String pluginContainerName,
EventContext eventContext,
OperationContext operationContext,
ContentContext contentContext,
AvailabilityContext availabilityContext,
InventoryContext inventoryContext,
PluginContainerDeployment pluginContainerDeployment,
ComponentInvocationContext componentInvocationContext)
Creates a new
ResourceContext object. |
| 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) |
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.