public interface ContentAgentService
| Modifier and Type | Method and Description |
|---|---|
void |
deletePackages(DeletePackagesRequest request)
Deletes existing content from a resource.
|
void |
deployPackages(DeployPackagesRequest request)
Begins the process of deploying a new set of versioned packages of content to a resource.
|
ContentDiscoveryReport |
executeResourcePackageDiscoveryImmediately(int resourceId,
String packageTypeName)
Immediately triggers a content discovery.
|
Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> |
getLastDiscoveredResourcePackages(int resourceId)
Returns all content known for the resource as of the last discovery that was executed.
|
void |
retrievePackageBits(RetrievePackageBitsRequest request)
Requests the plugin retrieve the content for a specified package and send the data to the server.
|
List<org.rhq.core.domain.content.transfer.DeployPackageStep> |
translateInstallationSteps(int resourceId,
org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails)
Requests that the plugin translate the package's metadata into domain specific installation instructions.
|
Set<org.rhq.core.domain.content.transfer.ResourcePackageDetails> getLastDiscoveredResourcePackages(int resourceId)
resourceId - identifies the resourcenull if no content exist for the resource or if a
previous discovery has not taken placeContentDiscoveryReport executeResourcePackageDiscoveryImmediately(int resourceId, String packageTypeName) throws PluginContainerException
resourceId - resource against which the discovery will be made; must correspond to a valid resource in
the plugin container's inventorypackageTypeName - name of the type of package to discover in the scanPluginContainerException - if an error occurs at any point in the discovery (including in the plugin
itself)List<org.rhq.core.domain.content.transfer.DeployPackageStep> translateInstallationSteps(int resourceId, org.rhq.core.domain.content.transfer.ResourcePackageDetails packageDetails) throws PluginContainerException
deployPackages(org.rhq.core.clientapi.server.content.DeployPackagesRequest) is made, the results of each
individual step will be reported. Installation steps are optional. This method may return null if
the plugin chooses to not express the installation in terms of steps.resourceId - identifies the resource against which the package in question will be deployedpackageDetails - contains metadata that describes the package to be installed, including the configuration
values specified by the user for this deployment (these values may factor into the
translation of the steps)null if the plugin
chooses not to explicitly describe its stepsPluginContainerException - if an error occurs at any point, including in the plugin itselfvoid deployPackages(DeployPackagesRequest request)
request - information necessary to know what content to deploy (must not be null)void deletePackages(DeletePackagesRequest request)
request - information necessary to know what content to delete (must not be null)void retrievePackageBits(RetrievePackageBitsRequest request)
request - information necessary to know what content to retrieve (must not be null)Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.