@Metadata(virtual=true, description="A version of an application .") public abstract class Version extends BaseConfigurationItem
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.id, syntheticProperties, type
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
Application |
getApplication() |
abstract java.util.Set<Deployable> |
getDeployables() |
java.util.List<java.lang.String> |
getOrchestrator() |
java.lang.String |
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.
|
void |
setApplication(Application application) |
void |
setOrchestrator(java.util.List<java.lang.String> orchestrator) |
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, toString
public java.lang.String getVersion()
BaseConfigurationItem.getName()
public Application getApplication()
Application
this package belongs to.public void setApplication(Application application)
application
- The Application
this package belongs to.public java.util.List<java.lang.String> getOrchestrator()
public void setOrchestrator(java.util.List<java.lang.String> orchestrator)
orchestrator
- The list of orchestrator names that are used to deploy the application.public abstract java.util.Set<Deployable> getDeployables()
Deployable
s).