com.xebialabs.deployit.plugin.api.udm
Class Version

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.Version
All Implemented Interfaces:
ConfigurationItem, java.io.Serializable, java.lang.Comparable<BaseConfigurationItem>
Direct Known Subclasses:
DeploymentPackage

public abstract class Version
extends BaseConfigurationItem

See Also:
Serialized Form

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
Version()
           
 
Method Summary
 Application getApplication()
           
abstract  java.util.Set<Deployable> getDeployables()
           
 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)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Version

public Version()
Method Detail

getVersion

public 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.

Returns:
The last part of the id
See Also:
BaseConfigurationItem.getName()

getApplication

public Application getApplication()

setApplication

public void setApplication(Application application)

getDeployables

public abstract java.util.Set<Deployable> getDeployables()