public interface BundleServerService
| Modifier and Type | Method and Description |
|---|---|
void |
addDeploymentHistory(int bundleDeploymentId,
org.rhq.core.domain.bundle.BundleResourceDeploymentHistory history) |
long |
downloadPackageBits(org.rhq.core.domain.content.PackageVersion packageVersion,
OutputStream outputStream)
Requests that the server download and stream the bits for the specified package version.
|
List<org.rhq.core.domain.content.PackageVersion> |
getAllBundleVersionPackageVersions(int bundleVersionId) |
void |
setBundleDeploymentStatus(int bundleDeploymentId,
org.rhq.core.domain.bundle.BundleDeploymentStatus status)
Set the (completion) status of a deployment.
|
@Asynchronous(guaranteedDelivery=true) void addDeploymentHistory(int bundleDeploymentId, org.rhq.core.domain.bundle.BundleResourceDeploymentHistory history)
@Timeout(value=2700000L) @LimitedConcurrency(value="rhq.server.concurrency-limit.content-download") long downloadPackageBits(org.rhq.core.domain.content.PackageVersion packageVersion, OutputStream outputStream)
packageVersion - identifies the package to downloadoutputStream - an output stream where the server should write the package contents. It is up to the
caller to prepare this output stream in order to write the package content to an
appropriate location.List<org.rhq.core.domain.content.PackageVersion> getAllBundleVersionPackageVersions(int bundleVersionId)
@Asynchronous(guaranteedDelivery=true) void setBundleDeploymentStatus(int bundleDeploymentId, org.rhq.core.domain.bundle.BundleDeploymentStatus status)
bundleDeploymentId - status - Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.