Class Version
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.deployit.plugin.api.udm.Version
- All Implemented Interfaces:
ConfigurationItem
,Serializable
,Comparable<BaseConfigurationItem>
- Direct Known Subclasses:
CompositePackage
,DeploymentPackage
@Metadata(virtual=true,
description="A version of an application .")
@TypeIcon("icons/types/udm.Version.svg")
public abstract class Version
extends BaseConfigurationItem
A Version of an
Application
, which can be represented either as a DeploymentPackage
or as
a CompositePackage
.
A Version is sometimes also called package, in the sense that it groups together a collection of artifacts and
resource specifications of a specific version into a package. This is true especially when considering CompositePackage
s
as containing a list of other packages.
- See Also:
-
Field Summary
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Set<Deployable>
By convention, the version of a Version is the last part of the id (which is in effect the same as the getName() returns.void
setApplication
(Application application) void
setOrchestrator
(List<String> orchestrator) Methods 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
-
Version
public Version()
-
-
Method Details
-
getVersion
By convention, the version of a Version is the last part of the id (which is in effect the same as the getName() returns.- Returns:
- The last part of the id
- See Also:
-
getApplication
- Returns:
- The
Application
this package belongs to.
-
setApplication
- Parameters:
application
- TheApplication
this package belongs to.
-
getOrchestrator
- Returns:
- The list of orchestrator names that are used to deploy the application. Orchestrators will be executed in order.
-
setOrchestrator
- Parameters:
orchestrator
- The list of orchestrator names that are used to deploy the application.
-
getDeployables
- Returns:
- The collection of artifacts and resource specifications (a set of
Deployable
s).
-