public enum TaskProperty extends java.lang.Enum<TaskProperty>
Enum Constant and Description |
---|
ACTION_NAMES
The action names of the task
|
COMPLETED_BY
The id for the user who completed the task
|
COMPLETED_TIME
When the task was completed
|
CONTENT_PATH
A content path the task is associated to
|
CREATED_BY
The Id of the user who created this task.
|
CREATED_TIME
The time the task was created
|
DESCRIPTION
The task description
|
DUE_TIME
the date when this task is due
|
INSTRUCTIONS
The task instructions
|
MODIFIED_BY
The id for the user who last modified the task
|
MODIFIED_TIME
The time the task was last modified
|
NAME
The task name
|
NAME_HIERARCHY
name hierarchy for this task (co-insides with parent task id hierarchy)
|
OWNER_ID
The name of the principal who owns the task
|
PARENT_TASK_ID
The Id of the parent task
|
PRIORITY
the priority of this task
|
PROGRESS_START_TIME
the date when progress should start on this task
|
SELECTED_ACTION
The action used to complete the task
|
STATUS
The task status
|
TASK_TYPE_NAME
The task type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyName()
Return the property name which can be used in task filter conditions.
|
static TaskProperty |
getTaskProperty(java.lang.String propertyName)
Return the TaskProperty object for the specified property name
|
static boolean |
isTaskProperty(java.lang.String propertyName)
Returns true if this is an intrinsic property (ie, one of DESCRIPTION, INSTRUCTIONS, ...
|
static TaskProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskProperty NAME
public static final TaskProperty DESCRIPTION
public static final TaskProperty INSTRUCTIONS
public static final TaskProperty OWNER_ID
public static final TaskProperty TASK_TYPE_NAME
public static final TaskProperty STATUS
public static final TaskProperty CREATED_TIME
public static final TaskProperty CREATED_BY
public static final TaskProperty MODIFIED_TIME
public static final TaskProperty MODIFIED_BY
public static final TaskProperty COMPLETED_TIME
public static final TaskProperty COMPLETED_BY
public static final TaskProperty ACTION_NAMES
public static final TaskProperty SELECTED_ACTION
public static final TaskProperty PARENT_TASK_ID
public static final TaskProperty CONTENT_PATH
public static final TaskProperty NAME_HIERARCHY
public static final TaskProperty DUE_TIME
public static final TaskProperty PROGRESS_START_TIME
public static final TaskProperty PRIORITY
public static TaskProperty[] values()
for (TaskProperty c : TaskProperty.values()) System.out.println(c);
public static TaskProperty valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPropertyName()
TaskManager.getTasks(com.adobe.granite.taskmanagement.Filter)
see Condition.setPropertyName(String)
public static final boolean isTaskProperty(java.lang.String propertyName)
propertyName
- The property name to checkpublic static final TaskProperty getTaskProperty(java.lang.String propertyName)
propertyName
- used to specify the property nameCopyright © 2010 - 2020 Adobe. All Rights Reserved