Package com.avoka.tm.vo
Class Job
- java.lang.Object
-
- com.avoka.tm.vo.Job
-
public class Job extends Object
Provide a Job value object class.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description String
clientCode
The organization client code.Long
controllerServiceId
The job controller service id.Long
currentJobStepId
The current job step id (PK).Long
id
The job record id (PK).String
jobKey
The job key.List<JobStep>
jobSteps
The list of job steps.String
name
The job name.Long
orgId
The organization id (PK).Map<String,String>
propertyMap
The job property map.String
referenceNumber
The job reference number.String
status
The job status.static String
STATUS_CANCELLED
The job "Cancelled" status.static String
STATUS_COMPLETED
The job "Completed" status.static String
STATUS_ERROR
The job "Error" status.static String
STATUS_EXPIRED
The job "Expired" status.static String
STATUS_IN_PROGRESS
The job "In Progress" status.static String
STATUS_PAUSED
The job "Paused" status.Date
timeCompletionScheduled
The time the job is scheduled for completion.Date
timeCreated
The time the job was created.Date
timeFinished
The time the job was finished.Date
timeLastProcessed
The time the job was last processed.Date
timePurgeScheduled
The time the job is scheduled to be purged.List<Long>
txnIdList
The list of job transaction ids.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClientCode()
The organization client code.Long
getControllerServiceId()
The job controller service id.Long
getCurrentJobStepId()
The current job step id (PK).Long
getId()
The job record id (PK).String
getJobKey()
The job key.List<JobStep>
getJobSteps()
The list of job steps.String
getName()
The job name.Long
getOrgId()
The organization id (PK).Map<String,String>
getPropertyMap()
The job property map.String
getReferenceNumber()
The job reference number.String
getStatus()
The job status.Date
getTimeCompletionScheduled()
The time the job is scheduled for completion.Date
getTimeCreated()
The time the job was created.Date
getTimeFinished()
The time the job was finished.Date
getTimeLastProcessed()
The time the job was last processed.Date
getTimePurgeScheduled()
The time the job is scheduled to be purged.List<Long>
getTxnIdList()
The list of job transaction ids.String
toString()
-
-
-
Field Detail
-
STATUS_CANCELLED
public static final String STATUS_CANCELLED
The job "Cancelled" status.- See Also:
- Constant Field Values
-
STATUS_COMPLETED
public static final String STATUS_COMPLETED
The job "Completed" status.- See Also:
- Constant Field Values
-
STATUS_ERROR
public static final String STATUS_ERROR
The job "Error" status.- See Also:
- Constant Field Values
-
STATUS_EXPIRED
public static final String STATUS_EXPIRED
The job "Expired" status.- See Also:
- Constant Field Values
-
STATUS_IN_PROGRESS
public static final String STATUS_IN_PROGRESS
The job "In Progress" status.- See Also:
- Constant Field Values
-
STATUS_PAUSED
public static final String STATUS_PAUSED
The job "Paused" status.- See Also:
- Constant Field Values
-
id
public final Long id
The job record id (PK).
-
name
public final String name
The job name.
-
orgId
public final Long orgId
The organization id (PK).
-
clientCode
public final String clientCode
The organization client code.
-
controllerServiceId
public final Long controllerServiceId
The job controller service id.
-
jobKey
public final String jobKey
The job key.
-
referenceNumber
public final String referenceNumber
The job reference number.
-
status
public final String status
The job status.
-
currentJobStepId
public final Long currentJobStepId
The current job step id (PK).
-
timeCompletionScheduled
public final Date timeCompletionScheduled
The time the job is scheduled for completion.
-
timeCreated
public final Date timeCreated
The time the job was created.
-
timeFinished
public final Date timeFinished
The time the job was finished.
-
timeLastProcessed
public final Date timeLastProcessed
The time the job was last processed.
-
timePurgeScheduled
public final Date timePurgeScheduled
The time the job is scheduled to be purged.
-
-
Constructor Detail
-
Job
public Job(com.avoka.fc.core.entity.Job job)
Create a Job value object with the given job entity parameter.- Parameters:
job
- the job entity parameter (required)
-
Job
public Job(Map fields)
Create a unit testing Job value object with the given fields.- Parameters:
fields
- the submission entity fields (required)- Since:
- 5.1.4
-
-
Method Detail
-
toString
public String toString()
-
getId
public Long getId()
The job record id (PK).
-
getName
public String getName()
The job name.
-
getOrgId
public Long getOrgId()
The organization id (PK).
-
getClientCode
public String getClientCode()
The organization client code.
-
getControllerServiceId
public Long getControllerServiceId()
The job controller service id.
-
getJobKey
public String getJobKey()
The job key.
-
getReferenceNumber
public String getReferenceNumber()
The job reference number.
-
getStatus
public String getStatus()
The job status.
-
getCurrentJobStepId
public Long getCurrentJobStepId()
The current job step id (PK).
-
getTimeCompletionScheduled
public Date getTimeCompletionScheduled()
The time the job is scheduled for completion.
-
getTimeCreated
public Date getTimeCreated()
The time the job was created.
-
getTimeFinished
public Date getTimeFinished()
The time the job was finished.
-
getTimeLastProcessed
public Date getTimeLastProcessed()
The time the job was last processed.
-
getTimePurgeScheduled
public Date getTimePurgeScheduled()
The time the job is scheduled to be purged.
-
-