Package org.cyclonedx.model.formulation
Enum FormulationCommon.TaskType
- java.lang.Object
-
- java.lang.Enum<FormulationCommon.TaskType>
-
- org.cyclonedx.model.formulation.FormulationCommon.TaskType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FormulationCommon.TaskType>
- Enclosing class:
- FormulationCommon
public static enum FormulationCommon.TaskType extends java.lang.Enum<FormulationCommon.TaskType>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateTaskType(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTypeName()static FormulationCommon.TaskTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FormulationCommon.TaskType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COPY
public static final FormulationCommon.TaskType COPY
-
CLONE
public static final FormulationCommon.TaskType CLONE
-
LINT
public static final FormulationCommon.TaskType LINT
-
SCAN
public static final FormulationCommon.TaskType SCAN
-
MERGE
public static final FormulationCommon.TaskType MERGE
-
BUILD
public static final FormulationCommon.TaskType BUILD
-
TEST
public static final FormulationCommon.TaskType TEST
-
DELIVER
public static final FormulationCommon.TaskType DELIVER
-
DEPLOY
public static final FormulationCommon.TaskType DEPLOY
-
RELEASE
public static final FormulationCommon.TaskType RELEASE
-
CLEAN
public static final FormulationCommon.TaskType CLEAN
-
OTHER
public static final FormulationCommon.TaskType OTHER
-
-
Method Detail
-
values
public static FormulationCommon.TaskType[] 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 (FormulationCommon.TaskType c : FormulationCommon.TaskType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormulationCommon.TaskType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getTypeName
public java.lang.String getTypeName()
-
-