Enum Class PlatformReleaseStatus

java.lang.Object
java.lang.Enum<PlatformReleaseStatus>
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseStatus
All Implemented Interfaces:
Serializable, Comparable<PlatformReleaseStatus>, Constable

public enum PlatformReleaseStatus extends Enum<PlatformReleaseStatus>
Status of a platform release campaign and of each of its steps. A step can only be prepared when the previous one is SUCCESS.
  • Enum Constant Details

    • TODO

      public static final PlatformReleaseStatus TODO
      Not started, locked by a previous step.
    • READY

      public static final PlatformReleaseStatus READY
      Previous step successful : the step can be prepared and launched.
    • RUNNING

      public static final PlatformReleaseStatus RUNNING
      Sent to Jenkins, build in progress.
    • SUCCESS

      public static final PlatformReleaseStatus SUCCESS
      Jenkins build finished successfully.
    • SKIPPED

      public static final PlatformReleaseStatus SKIPPED
      Nothing to release at this step, decided by the user : counts as a success for the next step.
    • FAILED

      public static final PlatformReleaseStatus FAILED
      Jenkins build failed or could not be triggered ; the step can be launched again.
  • Method Details

    • values

      public static PlatformReleaseStatus[] 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 PlatformReleaseStatus 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
    • isCompleted

      public boolean isCompleted()
      Tells whether this status unlocks the next step.
      Returns:
      true for SUCCESS and SKIPPED