|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BundleManagerProvider
Provides bundle functionality that plugin components will need in order to process bundles.
| Method Summary | |
|---|---|
void |
auditDeployment(BundleResourceDeployment deployment,
String action,
String info,
BundleResourceDeploymentHistory.Category category,
BundleResourceDeploymentHistory.Status status,
String message,
String attachment)
Bundle plugins call back into this manager to add progressive auditing of a deployment. |
List<PackageVersion> |
getAllBundleVersionPackageVersions(BundleVersion bundleVersion)
Bundle plugins call back into this manager to obtain the bundle files that belong to a given bundle version. |
long |
getFileContent(PackageVersion packageVersion,
OutputStream outputStream)
Bundle plugins call back into this manager to obtain the bundle file content for the given package. |
| Method Detail |
|---|
void auditDeployment(BundleResourceDeployment deployment,
String action,
String info,
BundleResourceDeploymentHistory.Category category,
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 text
Exception
List<PackageVersion> getAllBundleVersionPackageVersions(BundleVersion bundleVersion)
throws Exception
bundleVersion - a bundle version
Exception - on failure
long getFileContent(PackageVersion packageVersion,
OutputStream outputStream)
throws Exception
packageVersion - the package whose bits are to be downloadedoutputStream - where the package bits will get written to
Exception - on failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||