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
Status of a platform release campaign and of each of its steps. A step can only be prepared when the previous one is
SUCCESS.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJenkins build failed or could not be triggered ; the step can be launched again.Previous step successful : the step can be prepared and launched.Sent to Jenkins, build in progress.Nothing to release at this step, decided by the user : counts as a success for the next step.Jenkins build finished successfully.Not started, locked by a previous step. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTells whether this status unlocks the next step.static PlatformReleaseStatusReturns the enum constant of this class with the specified name.static PlatformReleaseStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
TODO
Not started, locked by a previous step. -
READY
Previous step successful : the step can be prepared and launched. -
RUNNING
Sent to Jenkins, build in progress. -
SUCCESS
Jenkins build finished successfully. -
SKIPPED
Nothing to release at this step, decided by the user : counts as a success for the next step. -
FAILED
Jenkins build failed or could not be triggered ; the step can be launched again.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isCompleted
public boolean isCompleted()Tells whether this status unlocks the next step.- Returns:
- true for SUCCESS and SKIPPED
-