Enum TaskField
- java.lang.Object
-
- java.lang.Enum<TaskField>
-
- org.kie.server.api.model.definition.TaskField
-
- All Implemented Interfaces:
Serializable,Comparable<TaskField>
public enum TaskField extends Enum<TaskField>
HumanTask fields. These are the filterable fields in our TaskQuery API.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATIONTIMEACTUALOWNERCREATEDBYCREATEDONDEPLOYMENTIDDESCRIPTIONDUEDATEIDNAMEPARENTIDPRIORITYPROCESSIDPROCESSINSTANCEIDPROCESSSESSIONIDSTATUSTASKIDWORKITEMID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskFieldvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final TaskField ID
-
ACTIVATIONTIME
public static final TaskField ACTIVATIONTIME
-
ACTUALOWNER
public static final TaskField ACTUALOWNER
-
CREATEDBY
public static final TaskField CREATEDBY
-
CREATEDON
public static final TaskField CREATEDON
-
DEPLOYMENTID
public static final TaskField DEPLOYMENTID
-
DESCRIPTION
public static final TaskField DESCRIPTION
-
DUEDATE
public static final TaskField DUEDATE
-
NAME
public static final TaskField NAME
-
PARENTID
public static final TaskField PARENTID
-
PRIORITY
public static final TaskField PRIORITY
-
PROCESSID
public static final TaskField PROCESSID
-
PROCESSINSTANCEID
public static final TaskField PROCESSINSTANCEID
-
PROCESSSESSIONID
public static final TaskField PROCESSSESSIONID
-
STATUS
public static final TaskField STATUS
-
TASKID
public static final TaskField TASKID
-
WORKITEMID
public static final TaskField WORKITEMID
-
-
Method Detail
-
values
public static TaskField[] 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 (TaskField c : TaskField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskField 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
-
-