Class Version

java.lang.Object
org.ametys.core.version.Version

public final class Version extends Object
Represents a given version of a component, given its unique name and build date.
It is used in the administrator area to display the versions of the main used components.
  • Constructor Details

    • Version

      public Version(String name, String version, Date date)
      Constructor
      Parameters:
      name - the name of the component
      version - the name of this version
      date - the build date of this version. May be null.
  • Method Details

    • getName

      public String getName()
      Returns the name of the component
      Returns:
      the name of the component
    • getVersion

      public String getVersion()
      Returns the name of this version
      Returns:
      the name of this version
    • getDate

      public Date getDate()
      Returns the build date of this version
      Returns:
      the build date of this version