@Metadata(description="A package of a certain version of an application. Groups all deployable artifact CIs for an application for a certain version. Is contained by the Application CI.") public class DeploymentPackage extends Version
Application
consisting of both artifacts and resource specifications
(a set of Deployable
s) that can be deployed onto a Container
.id, syntheticProperties, type
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
Constructor and Description |
---|
DeploymentPackage() |
DeploymentPackage(Deployable... deployables) |
Modifier and Type | Method and Description |
---|---|
void |
addDeployable(Deployable artifact)
Adds a
Deployable The set of Deployables that are part of this package. |
java.util.Set<Deployable> |
getDeployables() |
void |
setDeployables(java.util.Set<Deployable> deployables) |
getApplication, getOrchestrator, getVersion, setApplication, setOrchestrator
compareTo, equals, get$ciAttributes, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$ciAttributes, set$token, setId, setProperty, setSyntheticProperties, setType, toString
public DeploymentPackage()
public DeploymentPackage(Deployable... deployables)
deployables
- The Deployable
s that are part of this package.public java.util.Set<Deployable> getDeployables()
getDeployables
in class Version
Deployable
s that are part of this package.public void setDeployables(java.util.Set<Deployable> deployables)
deployables
- The set of Deployable
s that are part of this package.public void addDeployable(Deployable artifact)
Deployable
The set of Deployables that are part of this package.