Enum TaskInputVariablesReadMode
- java.lang.Object
-
- java.lang.Enum<TaskInputVariablesReadMode>
-
- org.kie.server.api.model.taskassigning.TaskInputVariablesReadMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskInputVariablesReadMode>
public enum TaskInputVariablesReadMode extends Enum<TaskInputVariablesReadMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONT_READ
Don't load the task variables.READ_FOR_ACTIVE_TASKS_WITH_NO_PLANNING_ENTITY
Optimization, read the task variables only for the tasks that aren't in a sink status and hasn't an associated planning task.READ_FOR_ALL
Load the task variables for all the returned tasks.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskInputVariablesReadMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskInputVariablesReadMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DONT_READ
public static final TaskInputVariablesReadMode DONT_READ
Don't load the task variables.
-
READ_FOR_ALL
public static final TaskInputVariablesReadMode READ_FOR_ALL
Load the task variables for all the returned tasks.
-
READ_FOR_ACTIVE_TASKS_WITH_NO_PLANNING_ENTITY
public static final TaskInputVariablesReadMode READ_FOR_ACTIVE_TASKS_WITH_NO_PLANNING_ENTITY
Optimization, read the task variables only for the tasks that aren't in a sink status and hasn't an associated planning task. This option is intended for internal use.
-
-
Method Detail
-
values
public static TaskInputVariablesReadMode[] 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 (TaskInputVariablesReadMode c : TaskInputVariablesReadMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskInputVariablesReadMode 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
-
-