Class 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 CompositePackages as containing a list of other packages.

See Also:
  • Constructor Details

    • Version

      public Version()
  • Method Details

    • getVersion

      public 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:
    • getApplication

      public Application getApplication()
      Returns:
      The Application this package belongs to.
    • setApplication

      public void setApplication(Application application)
      Parameters:
      application - The Application this package belongs to.
    • getOrchestrator

      public List<String> getOrchestrator()
      Returns:
      The list of orchestrator names that are used to deploy the application. Orchestrators will be executed in order.
    • setOrchestrator

      public void setOrchestrator(List<String> orchestrator)
      Parameters:
      orchestrator - The list of orchestrator names that are used to deploy the application.
    • getDeployables

      public abstract Set<Deployable> getDeployables()
      Returns:
      The collection of artifacts and resource specifications (a set of Deployables).