Package com.avoka.tm.vo
Class JobAction
- java.lang.Object
-
- com.avoka.tm.vo.JobAction
-
public class JobAction extends Object
Provide a Job Action value object class.- Since:
- 5.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATUS_ASSIGNED
The job step "Assigned" status.static String
STATUS_CANCELLED
The job step "Cancelled" status.static String
STATUS_COMPLETED
The job step "Completed" status.static String
STATUS_ERROR
The job step "Error" status.static String
STATUS_EXPIRED
The job step "Expired" status.static String
STATUS_IN_PROGRESS
The job step "In Progress" status.static String
STATUS_INVOKED
The job step "Invoked" status.static String
STATUS_PENDING
The job step "Pending" status.static String
STATUS_READY
The job step "Ready" status.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getActionAttempts()
The job action attempts.Integer
getActionMaxAttempts()
The job action maximum attempts.String
getActionMessage()
The job action message.Long
getActionServiceId()
The job action service definition id (PK).Integer
getAssignRepeatIndex()
The assign repeat index.String
getAssignRepeatItem()
The assign repeat item.String
getExternalReferenceNumber()
The job action external reference number.Long
getId()
The job action record (PK).String
getJobActionKey()
The job action key.String
getName()
The job action name.String
getRouteResult()
The job action route result.Integer
getSequence()
The job action sequence.String
getStatus()
The job action status.Date
getTimeActionExecuted()
The time action was last executed.Date
getTimeActionNextAttempt()
The time action should next be attempted.Date
getTimeCreated()
The time the job action was created.Date
getTimeFinished()
The time the job action was finished.Long
getTxnId()
The action transaction id (PK).String
getType()
The job action type.String
toString()
-
-
-
Field Detail
-
STATUS_ASSIGNED
public static final String STATUS_ASSIGNED
The job step "Assigned" status.- See Also:
- Constant Field Values
-
STATUS_CANCELLED
public static final String STATUS_CANCELLED
The job step "Cancelled" status.- See Also:
- Constant Field Values
-
STATUS_COMPLETED
public static final String STATUS_COMPLETED
The job step "Completed" status.- See Also:
- Constant Field Values
-
STATUS_ERROR
public static final String STATUS_ERROR
The job step "Error" status.- See Also:
- Constant Field Values
-
STATUS_EXPIRED
public static final String STATUS_EXPIRED
The job step "Expired" status.- See Also:
- Constant Field Values
-
STATUS_IN_PROGRESS
public static final String STATUS_IN_PROGRESS
The job step "In Progress" status.- See Also:
- Constant Field Values
-
STATUS_INVOKED
public static final String STATUS_INVOKED
The job step "Invoked" status.- See Also:
- Constant Field Values
-
STATUS_PENDING
public static final String STATUS_PENDING
The job step "Pending" status.- See Also:
- Constant Field Values
-
STATUS_READY
public static final String STATUS_READY
The job step "Ready" status.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JobAction
public JobAction()
-
JobAction
public JobAction(JobAction jobAction)
Create a Job Action value object with the given job action entity parameter.- Parameters:
jobAction
- the job action entity parameter (required)
-
JobAction
public JobAction(Map fields)
Create a unit testing JobAction value object with the given fields.- Parameters:
fields
- the job action entity fields (required)- Since:
- 5.1.4
-
-
Method Detail
-
toString
public String toString()
-
getId
public Long getId()
The job action record (PK).
-
getJobActionKey
public String getJobActionKey()
The job action key.
-
getName
public String getName()
The job action name.
-
getType
public String getType()
The job action type.
-
getStatus
public String getStatus()
The job action status.
-
getActionAttempts
public Integer getActionAttempts()
The job action attempts.
-
getActionMaxAttempts
public Integer getActionMaxAttempts()
The job action maximum attempts.
-
getActionMessage
public String getActionMessage()
The job action message.
-
getRouteResult
public String getRouteResult()
The job action route result.
-
getExternalReferenceNumber
public String getExternalReferenceNumber()
The job action external reference number.
-
getSequence
public Integer getSequence()
The job action sequence.
-
getAssignRepeatIndex
public Integer getAssignRepeatIndex()
The assign repeat index.
-
getAssignRepeatItem
public String getAssignRepeatItem()
The assign repeat item.
-
getActionServiceId
public Long getActionServiceId()
The job action service definition id (PK).
-
getTxnId
public Long getTxnId()
The action transaction id (PK).
-
getTimeCreated
public Date getTimeCreated()
The time the job action was created.
-
getTimeActionExecuted
public Date getTimeActionExecuted()
The time action was last executed.
-
getTimeActionNextAttempt
public Date getTimeActionNextAttempt()
The time action should next be attempted.
-
getTimeFinished
public Date getTimeFinished()
The time the job action was finished.
-
-