Package com.sas.lsaf.workflow.task
Class CompletedJobTask
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.workflow.element.CompletedElement
com.sas.lsaf.workflow.task.CompletedTask
com.sas.lsaf.workflow.task.CompletedJobTask
- All Implemented Interfaces:
Identifiable,Serializable
The class that represents a completed job task in a process flow.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sas.lsaf.workflow.element.CompletedElement
CompletedElement.TaskCompletedState -
Constructor Summary
ConstructorsConstructorDescriptionCompletedJobTask(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, List<Attribute> attributes, String completedBy, Date completed, String completedStatus, CompletedElement.TaskCompletedState completedState, String runAsOwner, String jobPath, String jobDetails, String jobVersion, List<ParameterValue> parameterValues) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the completion status of the task.Gets the details of the job (the description from the job XML).Gets the full path of the job.Gets the version of the job.Gets the parameter values that were used to run the job with the task.Gets the runAsOwner user as defined in the job for the task.Methods inherited from class com.sas.lsaf.workflow.task.CompletedTask
getAttributesMethods inherited from class com.sas.lsaf.workflow.element.CompletedElement
getCompleted, getCompletedBy, getCompletedState, getCreated, getDescription, getElementId, getName, getProcessFlowId, getType, toStringMethods inherited from class com.sas.lsaf.core.AbstractIdentifiable
equals, getId, getTypeId, hashCode
-
Constructor Details
-
CompletedJobTask
public CompletedJobTask(String typeId, String id, String elementId, String processFlowId, String name, String description, Element.ElementType type, Date created, List<Attribute> attributes, String completedBy, Date completed, String completedStatus, CompletedElement.TaskCompletedState completedState, String runAsOwner, String jobPath, String jobDetails, String jobVersion, List<ParameterValue> parameterValues) It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the completed tasks returned by the API.- Parameters:
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 flow definition.processFlowId- The identifier of the process flow that contains the element.name- The name of the task.description- The description of the task.type- The type of the task.created- The date on which the task was created.attributes- The extended attributes of the task.completedBy- The user who completed the task.completed- The date on which the task was completed.completedStatus- The completion status of the task.completedState- The completed state of the task.runAsOwner- The runAsOwner user as defined in the job for the task.jobPath- The path of the job with the task.jobDetails- The job details as defined in the job.jobVersion- The version of the job to run with the task.parameterValues- The parameter values that were used to run the job with the task.
-
-
Method Details
-
getCompletedStatus
Gets the completion status of the task.- Returns:
- The completion status.
-
getRunAsOwner
Gets the runAsOwner user as defined in the job for the task.- Returns:
- The runAsOwner user.
-
getJobPath
Gets the full path of the job.- Returns:
- The full path.
-
getJobDetails
Gets the details of the job (the description from the job XML).- Returns:
- The details.
-
getJobVersion
Gets the version of the job.- Returns:
- The version.
-
getParameterValues
Gets the parameter values that were used to run the job with the task.- Returns:
- The parameter values.
-