@Metadata(description="A deployment of an application package or a deployable artifact to a middleware CI or an environment.") public class DeployedApplication extends BaseConfigurationItem
Version) on an Environment.
Note that this is not the action, but the state of a deployment.id, syntheticProperties, typeSYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD| Constructor and Description |
|---|
DeployedApplication() |
DeployedApplication(Version version,
Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeployed(Deployed deployed) |
void |
addDeployeds(java.util.Collection<Deployed> deployeds) |
void |
addDeployeds(Deployed... deployeds) |
static SearchParameters |
findApplicationVersions(ConfigurationItem context,
PropertyDescriptor property) |
java.util.Set<Deployed> |
getDeployeds() |
Environment |
getEnvironment() |
java.util.List<java.lang.String> |
getOrchestrator() |
Version |
getVersion() |
boolean |
isOptimizePlan() |
void |
setDeployeds(java.util.Set<Deployed> deployeds) |
void |
setEnvironment(Environment environment) |
void |
setOptimizePlan(boolean optimizePlan) |
void |
setOrchestrator(java.util.List<java.lang.String> orchestrator) |
void |
setVersion(Version version) |
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, toStringpublic DeployedApplication()
public DeployedApplication(Version version, Environment environment)
@CandidateValuesFilter(name="deployedApplicationVersionCandidateFilter") public static SearchParameters findApplicationVersions(ConfigurationItem context, PropertyDescriptor property)
public Version getVersion()
Version) that is part of this deployment.public void setVersion(Version version)
version - The package (a Version) that is part of this deployment.public Environment getEnvironment()
Environment of this deployment.public void setEnvironment(Environment environment)
environment - The target Environment of this deployment.public java.util.Set<Deployed> getDeployeds()
Deployed items that have been deployed to the Environment.public void setDeployeds(java.util.Set<Deployed> deployeds)
deployeds - The Deployed items that have been deployed to the Environment.public void addDeployed(Deployed deployed)
public void addDeployeds(Deployed... deployeds)
public void addDeployeds(java.util.Collection<Deployed> deployeds)
public java.util.List<java.lang.String> getOrchestrator()
public void setOrchestrator(java.util.List<java.lang.String> orchestrator)
orchestrator - A list of Orchestrator names that can be used to orchestrate a deployment.public boolean isOptimizePlan()
public void setOptimizePlan(boolean optimizePlan)
optimizePlan - Whether to optimize the generated plan after orchestration.