public interface Task extends Serializable
WorkflowModel
Modifier and Type | Method and Description |
---|---|
String |
getAssigneeIdentifier()
Returns the username of the person who is assign to this task.
|
String |
getDescription()
Returns the description of the task.
|
GregorianCalendar |
getDueAt()
Returns the timestamp in the session’s locale when the task was due.
|
GregorianCalendar |
getEndedAt()
Returns the timestamp in the session’s locale when the task was
completed.
|
String |
getIdentifier()
Returns the unique identifier of the Task.
|
String |
getKey()
Refers to a logical task definition.
|
String |
getName()
Returns the name of the task.
|
int |
getPriority()
Returns the priority of the task.
|
String |
getProcessDefinitionIdentifier()
Returns the unique identifier of the process definition.
|
String |
getProcessIdentifier()
Returns the unique identifier of the process the task belongs.
|
GregorianCalendar |
getStartedAt()
Returns the timestamp in the session’s locale when the task was started.
|
Property |
getVariable(String name)
Returns the requested variable.
|
Map<String,Property> |
getVariables()
Returns a Map of all available variables for the specific task object.
|
<T> T |
getVariableValue(String name)
Returns the value of the variable with the given name.
|
boolean |
hasAllVariables()
Indicates whether the task has all it’s variables populated.
|
boolean |
hasCompleted()
Returns true if the task has completed.
|
String getIdentifier()
String getProcessIdentifier()
String getProcessDefinitionIdentifier()
String getKey()
WorkflowModel
like
TASK_ACTIVITI_REVIEW
GregorianCalendar getStartedAt()
GregorianCalendar getEndedAt()
GregorianCalendar getDueAt()
String getDescription()
int getPriority()
PRIORITY_MEDIUM
String getAssigneeIdentifier()
String getName()
boolean hasAllVariables()
Property getVariable(String name)
name
- : unique identifier of your variable.Map<String,Property> getVariables()
<T> T getVariableValue(String name)
name
- : unique identifier label of the variableboolean hasCompleted()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.