public class JobTask extends Task
Task.Complexity, Task.Priority, Task.TaskStatus
Element.ElementType
OBJECT_TYPE
Constructor and Description |
---|
JobTask(String identifier,
String elementId,
String name,
String description,
Element.ElementType type,
ProcessFlowDescriptor.FlowStatus flowStatus,
ProcessFlowDescriptor processFlow,
Date created,
Date started,
Task.TaskStatus taskStatus,
List<Attribute> attributes,
String jobPath,
String jobVersion,
List<ParameterValue> parameters)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
String |
getJobPath()
Get the full path of the job
|
String |
getJobVersion()
Gets the version of the job
|
List<ParameterValue> |
getParameters()
Get the parameter values that will override the default parameter values in the job
|
String |
toString() |
equals, getAttributes, getStarted, getTaskStatus, hashCode, setAttributes
getCreated, getDescription, getElementId, getFlowStatus, getName, getProcessFlow, getType, setDescription, setName
getIdentifier, getObjectType, setIdentifier, setObjectType
public JobTask(String identifier, String elementId, String name, String description, Element.ElementType type, ProcessFlowDescriptor.FlowStatus flowStatus, ProcessFlowDescriptor processFlow, Date created, Date started, Task.TaskStatus taskStatus, List<Attribute> attributes, String jobPath, 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.getCurrentElementsByProcessFlow(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 tasktype
- 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 taskjobPath
- The path of the jobjobVersion
- The version of the job to run with this taskparameters
- The parameters used to run the job with this taskpublic String getJobPath()
public String getJobVersion()
public List<ParameterValue> getParameters()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA