@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 deployable)
Adds a
Deployable The set of Deployables that are part of this package. |
java.util.Map<java.lang.String,java.lang.String> |
getApplicationDependencies()
Gets the application versions that the this package depends on.
|
java.util.Set<Deployable> |
getDeployables() |
void |
setApplicationDependencies(java.util.Map<java.lang.String,java.lang.String> applicationDependencies)
Sets the application versions that this package depends on.
|
void |
setDeployables(java.util.Set<Deployable> deployables) |
getApplication, getOrchestrator, getVersion, setApplication, setOrchestrator
compareTo, equals, get$ciAttributes, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$token, set$validationMessages, setId, setProperty, 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 deployable)
Deployable
The set of Deployables that are part of this package.public java.util.Map<java.lang.String,java.lang.String> getApplicationDependencies()
public void setApplicationDependencies(java.util.Map<java.lang.String,java.lang.String> applicationDependencies)
applicationDependencies
- the map of dependencies for this application version.