@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 Deployables) that can be deployed onto a Container.| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentPackage.DependencyResolution
Indicates how application dependencies will be resolved when deploying an application.
|
id, syntheticProperties, typeSYNTHETIC_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<Template> |
getBoundTemplates() |
java.lang.String |
getDependencyResolution() |
java.util.Set<Deployable> |
getDeployables() |
java.util.Set<Template> |
getTemplates() |
java.lang.String |
getUndeployDependencies() |
void |
setApplicationDependencies(java.util.Map<java.lang.String,java.lang.String> applicationDependencies)
Sets the application versions that this package depends on.
|
void |
setBoundTemplates(java.util.Set<Template> boundTemplates) |
void |
setDependencyResolution(java.lang.String dependencyResolution) |
void |
setDeployables(java.util.Set<Deployable> deployables) |
void |
setTemplates(java.util.Set<Template> templates) |
void |
setUndeployDependencies(java.lang.String undeployDependencies) |
getApplication, getOrchestrator, getVersion, setApplication, setOrchestratorcompareTo, equals, get$ciAttributes, get$externalProperties, get$internalId, get$securedCi, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$externalProperties, set$internalId, set$securedCi, set$token, set$validationMessages, setId, setProperty, setType, toStringpublic DeploymentPackage()
public DeploymentPackage(Deployable... deployables)
deployables - The Deployables that are part of this package.public java.util.Set<Template> getTemplates()
public void setTemplates(java.util.Set<Template> templates)
public java.util.Set<Template> getBoundTemplates()
public void setBoundTemplates(java.util.Set<Template> boundTemplates)
public java.util.Set<Deployable> getDeployables()
getDeployables in class VersionDeployables that are part of this package.public void setDeployables(java.util.Set<Deployable> deployables)
deployables - The set of Deployables 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.public java.lang.String getDependencyResolution()
public void setDependencyResolution(java.lang.String dependencyResolution)
public java.lang.String getUndeployDependencies()
public void setUndeployDependencies(java.lang.String undeployDependencies)