public abstract class Task extends Element
Modifier and Type | Class and Description |
---|---|
static class |
Task.Complexity
Provides the complexity of a task.
|
static class |
Task.Priority
Provides the priority of a task.
|
static class |
Task.TaskStatus
Provides the status of a task.
|
Element.ElementType
Constructor and Description |
---|
Task(String typeId,
String id,
String elementId,
String name,
String description,
Element.ElementType type,
ProcessFlowDescriptor.FlowStatus flowStatus,
String processFlowId,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttributes()
Gets the extended attributes of the task.
|
Date |
getStarted()
Gets the date on which the task was started.
|
Task.TaskStatus |
getTaskStatus()
Gets the status of the task.
|
void |
setAttributes(List<Attribute> attributes)
Sets the extended attributes for the task.
|
equals, getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlowId, getType, hashCode, setName, toString
getId, getTypeId
public Task(String typeId, String id, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, String processFlowId, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes)
typeId
- the object type identifier of the task.id
- the unique identifier of the task.elementId
- the identifier of the task as it appears in the process definition.name
- the name of the task.description
- the description of the task.type
- the type of the task.flowStatus
- the status of the process flow that contains the task.processFlowId
- the identifier of the process flow that contains the task.created
- the date on which the task was created.started
- the date on which the task was started.taskStatus
- the status of the task.attributes
- the extended attributes of the task.public List<Attribute> getAttributes()
public Task.TaskStatus getTaskStatus()
public Date getStarted()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>