Enum Class Release

java.lang.Object
java.lang.Enum<Release>
de.hybris.platform.patchesdemo.structure.Release
All Implemented Interfaces:
Release, Serializable, Comparable<Release>, Constable

public enum Release extends Enum<Release> implements Release
Represent project releases. String used in constructor will be used to create paths to impexes that should be imported in logs etc. (should be unique).
  • Enum Constant Details

    • R1

      public static final Release R1
    • R2

      public static final Release R2
    • E1

      public static final Release E1
  • Method Details

    • values

      public static Release[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Release valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getReleaseId

      public String getReleaseId()
      Specified by:
      getReleaseId in interface Release