public abstract class Task extends Element
Modifier and Type | Class and Description |
---|---|
static class |
Task.Complexity
Provides the complexity of the task.
|
static class |
Task.Priority
Provides the priority of the task.
|
static class |
Task.TaskStatus
Provides the status of the 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 this task
|
Date |
getStarted()
Gets the date this task was started
|
Task.TaskStatus |
getTaskStatus()
Gets the status of this task
|
void |
setAttributes(List<Attribute> attributes)
Sets the extended attributes for this 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 id of this element.id
- the unique id of this element.elementId
- the id of the element as it appears in the process definition.name
- the name of the element.description
- the description of the element.type
- the type of the element.flowStatus
- the status of the process flow containing this element.processFlowId
- the id of the process flow containing this element.created
- the date this element was created.started
- the date this element was started.taskStatus
- the status of this element.attributes
- the extended attributes of the task.public List<Attribute> getAttributes()
public Task.TaskStatus getTaskStatus()
public Date getStarted()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA