|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BundleServerService
Interface for agents to use when needing to inform the server about bundle tasks. Implementations of this interface, once registered with the plugin container, will received the requests that were issued updated with the operation results.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
@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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||