Enum WorkFlowTaskParameterType
- java.lang.Object
-
- java.lang.Enum<WorkFlowTaskParameterType>
-
- com.redhat.parodos.workflow.task.parameter.WorkFlowTaskParameterType
-
- All Implemented Interfaces:
Serializable,Comparable<WorkFlowTaskParameterType>
public enum WorkFlowTaskParameterType extends Enum<WorkFlowTaskParameterType>
The supported types for a @see WorkFlowTaskParameter. A UI layer can render appropriate components to collect/validate user inputs using these values- Author:
- Luke Shannon (Github: lshannon)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAsJsonSchema()static WorkFlowTaskParameterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WorkFlowTaskParameterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASSWORD
public static final WorkFlowTaskParameterType PASSWORD
-
TEXT
public static final WorkFlowTaskParameterType TEXT
-
EMAIL
public static final WorkFlowTaskParameterType EMAIL
-
DATE
public static final WorkFlowTaskParameterType DATE
-
NUMBER
public static final WorkFlowTaskParameterType NUMBER
-
URL
public static final WorkFlowTaskParameterType URL
-
-
Method Detail
-
values
public static WorkFlowTaskParameterType[] 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 (WorkFlowTaskParameterType c : WorkFlowTaskParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkFlowTaskParameterType 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
-
-