Enum WORKFLOW_PHASE
- java.lang.Object
-
- java.lang.Enum<WORKFLOW_PHASE>
-
- org.gcube.application.geoportalcommon.shared.geoportal.WORKFLOW_PHASE
-
- All Implemented Interfaces:
Serializable,Comparable<WORKFLOW_PHASE>
public enum WORKFLOW_PHASE extends Enum<WORKFLOW_PHASE>
The Enum WORKFLOW_PHASE.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Jan 19, 2023
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Gets the label.static WORKFLOW_PHASEvalueOf(String name)Returns the enum constant of this type with the specified name.static WORKFLOW_PHASE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLISHED
public static final WORKFLOW_PHASE PUBLISHED
-
DRAFT
public static final WORKFLOW_PHASE DRAFT
-
-
Method Detail
-
values
public static WORKFLOW_PHASE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WORKFLOW_PHASE c : WORKFLOW_PHASE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WORKFLOW_PHASE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getLabel
public String getLabel()
Gets the label.- Returns:
- the label
-
-