public interface BundleManagerProvider
| Modifier and Type | Method and Description |
|---|---|
void |
auditDeployment(org.rhq.core.domain.bundle.BundleResourceDeployment deployment,
String action,
String info,
org.rhq.core.domain.bundle.BundleResourceDeploymentHistory.Category category,
org.rhq.core.domain.bundle.BundleResourceDeploymentHistory.Status status,
String message,
String attachment)
Bundle plugins call back into this manager to add progressive auditing of a deployment.
|
List<org.rhq.core.domain.content.PackageVersion> |
getAllBundleVersionPackageVersions(org.rhq.core.domain.bundle.BundleVersion bundleVersion)
Bundle plugins call back into this manager to obtain the bundle files that belong to a given bundle version.
|
long |
getFileContent(org.rhq.core.domain.content.PackageVersion packageVersion,
OutputStream outputStream)
Bundle plugins call back into this manager to obtain the bundle file content for the given package.
|
BundleHandoverResponse |
handoverContent(org.rhq.core.domain.resource.Resource bundleTarget,
BundleHandoverRequest handoverRequest)
Requests participation of the bundle target resource component in the bundle deployment.
|
void auditDeployment(org.rhq.core.domain.bundle.BundleResourceDeployment deployment,
String action,
String info,
org.rhq.core.domain.bundle.BundleResourceDeploymentHistory.Category category,
org.rhq.core.domain.bundle.BundleResourceDeploymentHistory.Status status,
String message,
String attachment)
throws Exception
deployment - The resource deployment tracking this bundle deploymentaction - The audit action, a short summary easily displayed (e.g "File Download")info - Info about the action target, easily displayed (e.g. "myfile.zip")category - A useful categorization of the audit, defaults to nullstatus - Optional, defaults to SUCCESSmessage - Optional, verbose message being audited, failure message, etcattachment - Optional, verbose data, such as full file textExceptionList<org.rhq.core.domain.content.PackageVersion> getAllBundleVersionPackageVersions(org.rhq.core.domain.bundle.BundleVersion bundleVersion) throws Exception
bundleVersion - a bundle versionException - on failurelong getFileContent(org.rhq.core.domain.content.PackageVersion packageVersion,
OutputStream outputStream)
throws Exception
packageVersion - the package whose bits are to be downloadedoutputStream - where the package bits will get written toException - on failureBundleHandoverResponse handoverContent(org.rhq.core.domain.resource.Resource bundleTarget, BundleHandoverRequest handoverRequest)
bundleTarget - bundle target resourcehandoverRequest - handover parameters and contextCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.