Package com.avoka.tm.vo
Class Job
java.lang.Object
com.avoka.tm.vo.Job
Provide a Job value object class.
- Since:
- 5.0.0
-
Field Summary
Modifier and TypeFieldDescriptionThe list of job steps.static final String
The job "Cancelled" status.static final String
The job "Completed" status.static final String
The job "Error" status.static final String
The job "Expired" status.static final String
The job "In Progress" status.static final String
The job "Paused" status.The list of job transaction ids. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe organization client code.The job comment list.The job controller service id.The current job step id (PK).getId()
The job record id (PK).The job key.The list of job steps.getName()
The job name.getOrgId()
The organization id (PK).The job property map.The job reference number.The job status.The time the job is scheduled for abandonment.The time the job is scheduled for completion.The time the job was created.The time the job was finished.The time the job was last processed.The time the job is scheduled to be purged.The list of job transaction ids.toString()
-
Field Details
-
STATUS_CANCELLED
The job "Cancelled" status.- See Also:
-
STATUS_COMPLETED
The job "Completed" status.- See Also:
-
STATUS_ERROR
The job "Error" status.- See Also:
-
STATUS_EXPIRED
The job "Expired" status.- See Also:
-
STATUS_IN_PROGRESS
The job "In Progress" status.- See Also:
-
STATUS_PAUSED
The job "Paused" status.- See Also:
-
txnIdList
The list of job transaction ids. -
jobSteps
The list of job steps.
-
-
Constructor Details
-
Job
public Job() -
Job
Create a Job value object with the given job entity parameter.- Parameters:
job
- the job entity parameter (required)
-
Job
Create a unit testing Job value object with the given fields.- Parameters:
fields
- the job entity fields (required)- Since:
- 5.1.4
-
-
Method Details
-
toString
-
getId
The job record id (PK). -
getName
The job name. -
getOrgId
The organization id (PK). -
getClientCode
The organization client code. -
getControllerServiceId
The job controller service id. -
getJobKey
The job key. -
getReferenceNumber
The job reference number. -
getStatus
The job status. -
getCurrentJobStepId
The current job step id (PK). -
getTimeAbandonmentScheduled
The time the job is scheduled for abandonment.- Since:
- 23.10.0
-
getTimeCompletionScheduled
The time the job is scheduled for completion. -
getTimeCreated
The time the job was created. -
getTimeFinished
The time the job was finished. -
getTimeLastProcessed
The time the job was last processed. -
getTimePurgeScheduled
The time the job is scheduled to be purged. -
getTxnIdList
The list of job transaction ids. -
getJobSteps
The list of job steps. -
getCommentList
The job comment list.- Since:
- 21.5.0
-
getPropertyMap
The job property map.
-