public class BundleDeployRequest extends Object implements Serializable
| Constructor and Description |
|---|
BundleDeployRequest() |
| Modifier and Type | Method and Description |
|---|---|
File |
getAbsoluteDestinationDirectory()
Deprecated.
since 4.13, use
getDestinationTarget() instead. |
File |
getBundleFilesLocation()
This returns the location where the plugin container has downloaded the bundle files.
|
BundleManagerProvider |
getBundleManagerProvider() |
URI |
getDestinationTarget()
For filesystem-bound bundle destinations, this URI will have the
file scheme and will be the absolute
directory as found on the local machine's file system where the bundle should be deployed. |
Map<org.rhq.core.domain.content.PackageVersion,File> |
getPackageVersionFiles()
Maps all the package versions associated with the bundle and the locations
where the package version contents can be found.
|
org.rhq.core.domain.configuration.Configuration |
getReferencedConfiguration()
The destination specification can pass over some info to the bundle handler by using references to configuration
or metric data.
|
org.rhq.core.domain.bundle.BundleResourceDeployment |
getResourceDeployment() |
boolean |
isCleanDeployment() |
boolean |
isRevert() |
void |
setAbsoluteDestinationDirectory(File absoluteDestDir)
Deprecated.
since 4.13, use
setDestinationTarget(java.net.URI) instead. |
void |
setBundleFilesLocation(File bundleFilesLocation) |
void |
setBundleManagerProvider(BundleManagerProvider provider) |
void |
setCleanDeployment(boolean isCleanDeployment) |
void |
setDestinationTarget(URI destinationTarget) |
void |
setPackageVersionFiles(Map<org.rhq.core.domain.content.PackageVersion,File> packageVersionFiles) |
void |
setReferencedConfiguration(org.rhq.core.domain.configuration.Configuration referencedConfiguration) |
void |
setResourceDeployment(org.rhq.core.domain.bundle.BundleResourceDeployment resourceDeployment) |
void |
setRevert(boolean isRevert) |
String |
toString() |
@Deprecated public File getAbsoluteDestinationDirectory()
getDestinationTarget() instead.relative destination directory under the
destination base directory.@Deprecated public void setAbsoluteDestinationDirectory(File absoluteDestDir)
setDestinationTarget(java.net.URI) instead.absoluteDestDir - the absolute directory where the bundle should be deployedpublic URI getDestinationTarget()
file scheme and will be the absolute
directory as found on the local machine's file system where the bundle should be deployed. In another words,
for the filesystem-bound bundle destinations, this is the bundle destination's
relative destination directory under the
destination base directory.
For bundle destinations defined using the bundle definitions (which are just generalized expressions that should
form a valid URI), the URI will be processed from the connection string expression provided in the bundle
target of the resource's type.public void setDestinationTarget(URI destinationTarget)
getDestinationTarget()public File getBundleFilesLocation()
public void setBundleFilesLocation(File bundleFilesLocation)
public Map<org.rhq.core.domain.content.PackageVersion,File> getPackageVersionFiles()
bundle files location.public void setPackageVersionFiles(Map<org.rhq.core.domain.content.PackageVersion,File> packageVersionFiles)
public org.rhq.core.domain.bundle.BundleResourceDeployment getResourceDeployment()
public void setResourceDeployment(org.rhq.core.domain.bundle.BundleResourceDeployment resourceDeployment)
public BundleManagerProvider getBundleManagerProvider()
public void setBundleManagerProvider(BundleManagerProvider provider)
public boolean isCleanDeployment()
public void setCleanDeployment(boolean isCleanDeployment)
public boolean isRevert()
public void setRevert(boolean isRevert)
public org.rhq.core.domain.configuration.Configuration getReferencedConfiguration()
public void setReferencedConfiguration(org.rhq.core.domain.configuration.Configuration referencedConfiguration)
getReferencedConfiguration()Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.