Class DeployedApplication
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItemWithPolicies
com.xebialabs.deployit.plugin.api.udm.DeployedApplication
- All Implemented Interfaces:
ConfigurationItem,Serializable,Comparable<BaseConfigurationItem>
@Metadata(description="A deployment of an application package or a deployable artifact to a middleware CI or an environment.")
@TypeIcon("icons/types/udm.DeployedApplication.svg")
public class DeployedApplication
extends BaseConfigurationItemWithPolicies
A deployment of an application package (a
Version) on an Environment.
Note that this is not the action, but the state of a deployment.
- See Also:
-
Field Summary
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItemWithPolicies
onFailurePolicy, onSuccessPolicyFields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, typeFields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd$ResolvedPlaceholder(com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder resolvedPlaceholder) voidadd$ResolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders) voidaddDeployed(Deployed deployed) voidaddDeployeds(Deployed... deployeds) voidaddDeployeds(Collection<Deployed> deployeds) static SearchParametersfindApplicationVersions(ConfigurationItem context, PropertyDescriptor property) Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder>booleanbooleanbooleanbooleanbooleanvoidset$resolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> $resolvedPlaceholders) voidsetBoundConfigurationItems(Set<ConfigurationItem> boundConfigurationItems) voidsetDeployeds(Set<Deployed> deployeds) voidsetEnvironment(Environment environment) voidsetForceRedeploy(boolean forceRedeploy) voidsetOptimizePlan(boolean optimizePlan) voidsetOrchestrator(List<String> orchestrator) voidsetUndeployDependencies(boolean undeployDependencies) voidsetUnresolvedPlaceholders(Map<String, String> unresolvedPlaceholders) voidsetVersion(Version version) Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItemWithPolicies
getOnFailurePolicy, getOnSuccessPolicy, setOnFailurePolicy, setOnSuccessPolicyMethods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString
-
Constructor Details
-
DeployedApplication
public DeployedApplication() -
DeployedApplication
-
-
Method Details
-
findApplicationVersions
@CandidateValuesFilter(name="deployedApplicationVersionCandidateFilter") public static SearchParameters findApplicationVersions(ConfigurationItem context, PropertyDescriptor property) -
getVersion
- Returns:
- The package (a
Version) that is part of this deployment.
-
setVersion
- Parameters:
version- The package (aVersion) that is part of this deployment.
-
getEnvironment
- Returns:
- The target
Environmentof this deployment.
-
setEnvironment
- Parameters:
environment- The targetEnvironmentof this deployment.
-
getDeployeds
- Returns:
- The
Deployeditems that have been deployed to theEnvironment.
-
setDeployeds
- Parameters:
deployeds- TheDeployeditems that have been deployed to theEnvironment.
-
addDeployed
-
addDeployeds
-
addDeployeds
-
getOrchestrator
- Returns:
- A list of Orchestrator names that can be used to orchestrate a deployment.
-
setOrchestrator
-
isOptimizePlan
public boolean isOptimizePlan() -
setOptimizePlan
public void setOptimizePlan(boolean optimizePlan) -
getBoundConfigurationItems
-
setBoundConfigurationItems
-
getUnresolvedPlaceholders
-
setUnresolvedPlaceholders
-
getUnresolvedPlaceholdersWithValues
-
isUndeployDependencies
public boolean isUndeployDependencies() -
setUndeployDependencies
public void setUndeployDependencies(boolean undeployDependencies) -
isProvisioning
public boolean isProvisioning() -
add$ResolvedPlaceholder
public void add$ResolvedPlaceholder(com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder resolvedPlaceholder) -
add$ResolvedPlaceholders
public void add$ResolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> resolvedPlaceholders) -
get$ResolvedPlaceholders
public Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> get$ResolvedPlaceholders() -
set$resolvedPlaceholders
public void set$resolvedPlaceholders(Set<com.xebialabs.deployit.plugin.api.deployment.ResolvedPlaceholder> $resolvedPlaceholders) -
hasProvisioned
public boolean hasProvisioned() -
isForceRedeploy
public boolean isForceRedeploy() -
setForceRedeploy
public void setForceRedeploy(boolean forceRedeploy)
-