public class CompletedJobTask extends JobTask implements CompletedTask
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
CompletedTask.TaskCompletedState
OBJECT_TYPE
Constructor and Description |
---|
CompletedJobTask(String identifier,
String elementId,
String name,
String description,
Element.ElementType activityType,
ProcessFlowDescriptor.FlowStatus flowStatus,
ProcessFlowDescriptor processFlow,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes,
UserDescriptor completedBy,
Date completed,
String completedStatus,
CompletedTask.TaskCompletedState completedState,
UserDescriptor runAsOwner,
String jobPath,
String jobDetails,
String jobVersion,
List<ParameterValue> parameters)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCompleted()
Gets the date this completed element was completed
|
UserDescriptor |
getCompletedBy()
Gets the user that completed this element
|
CompletedTask.TaskCompletedState |
getCompletedState() |
String |
getCompletedStatus() |
String |
getJobDetails()
Gets the details of the job - the description from with in the job xml
|
String |
getJobPath()
Get the full path of the job
|
String |
getJobVersion()
Gets the version of the job
|
UserDescriptor |
getRunAsOwner()
Get the runAsOwner user as defined on the job for this task
|
String |
toString() |
getParameters
equals, getAttributes, getStarted, getTaskStatus, hashCode, setAttributes
getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlow, getType, setDescription, setName
getIdentifier, getObjectType, setIdentifier, setObjectType
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributes, getStarted
getCreated, getDescription, getElementId, getFlowStatus, getName, getType
getIdentifier, getObjectType
public CompletedJobTask(String identifier, String elementId, String name, String description, Element.ElementType activityType, ProcessFlowDescriptor.FlowStatus flowStatus, ProcessFlowDescriptor processFlow, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes, UserDescriptor completedBy, Date completed, String completedStatus, CompletedTask.TaskCompletedState completedState, UserDescriptor runAsOwner, String jobPath, String jobDetails, String jobVersion, List<ParameterValue> parameters)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as
ProcessFlowService.getCompletedElementsByProcessFlow(String)
.
identifier
- The identifier of the taskelementId
- The id of the task as it appears in the process definitionname
- The name of the taskdescription
- The description of the taskactivityType
- The type of the taskflowStatus
- The status of the process flowprocessFlow
- The process flow that contains this taskcreated
- The date this task was createdstarted
- The date this task was startedtaskStatus
- The status of the taskattributes
- The extended attributes of the taskcompletedBy
- The user who completed this taskcompleted
- The date this task was completedcompletedStatus
- The descriptive completion status of the taskcompletedState
- The completed state of the task.runAsOwner
- The runAsOwner user as defined on the job for this taskjobPath
- The path of the jobjobDetails
- The job details as defined within the jobjobVersion
- The version of the job to run with this taskparameters
- The parameters used to run the job with this taskpublic UserDescriptor getCompletedBy()
CompletedElement
getCompletedBy
in interface CompletedElement
public String getCompletedStatus()
public CompletedTask.TaskCompletedState getCompletedState()
public UserDescriptor getRunAsOwner()
public String getJobPath()
JobTask
getJobPath
in class JobTask
public String getJobDetails()
public String getJobVersion()
JobTask
getJobVersion
in class JobTask
public Date getCompleted()
CompletedElement
getCompleted
in interface CompletedElement
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA