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