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 IntegeractionAttemptsThe job action attempts.IntegeractionMaxAttemptsThe job action maximum attempts.StringactionMessageThe job action message.LongactionServiceIdThe job action service definition id (PK).IntegerassignRepeatIndexThe assign repeat index.StringassignRepeatItemThe assign repeat item.StringexternalReferenceNumberThe job action external reference number.LongidThe job action record (PK).StringjobActionKeyThe job action key.StringjobAtionKeyDeprecated.StringnameThe job action name.StringrouteResultThe job action route result.IntegersequenceThe job action sequence.StringstatusThe job action status.static StringSTATUS_ASSIGNEDThe job step "Assigned" status.static StringSTATUS_CANCELLEDThe job step "Cancelled" status.static StringSTATUS_COMPLETEDThe job step "Completed" status.static StringSTATUS_ERRORThe job step "Error" status.static StringSTATUS_EXPIREDThe job step "Expired" status.static StringSTATUS_IN_PROGRESSThe job step "In Progress" status.static StringSTATUS_INVOKEDThe job step "Invoked" status.static StringSTATUS_PENDINGThe job step "Pending" status.static StringSTATUS_READYThe job step "Ready" status.DatetimeActionExecutedThe time action was last executed.DatetimeActionNextAttemptThe time action should next be attempted.DatetimeCreatedThe time the job action was created.DatetimeFinishedThe time the job action was finished.LongtxnIdThe action transaction id (PK).StringtypeThe job action type.
-
-
-
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
-
id
public final Long id
The job action record (PK).
-
jobAtionKey
@Deprecated public final String jobAtionKey
Deprecated.The job action key.
-
jobActionKey
public final String jobActionKey
The job action key.
-
name
public final String name
The job action name.
-
type
public final String type
The job action type.
-
status
public final String status
The job action status.
-
actionAttempts
public final Integer actionAttempts
The job action attempts.
-
actionMaxAttempts
public final Integer actionMaxAttempts
The job action maximum attempts.
-
actionMessage
public final String actionMessage
The job action message.
-
routeResult
public final String routeResult
The job action route result.
-
externalReferenceNumber
public final String externalReferenceNumber
The job action external reference number.
-
sequence
public final Integer sequence
The job action sequence.
-
assignRepeatIndex
public final Integer assignRepeatIndex
The assign repeat index.
-
assignRepeatItem
public final String assignRepeatItem
The assign repeat item.
-
actionServiceId
public final Long actionServiceId
The job action service definition id (PK).
-
txnId
public final Long txnId
The action transaction id (PK).
-
timeCreated
public final Date timeCreated
The time the job action was created.
-
timeActionExecuted
public final Date timeActionExecuted
The time action was last executed.
-
timeActionNextAttempt
public final Date timeActionNextAttempt
The time action should next be attempted.
-
timeFinished
public final Date timeFinished
The time the job action was finished.
-
-
Constructor Detail
-
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
public JobAction(Map fields)
Create a unit testing JobAction value object with the given fields.- Parameters:
fields- the submission entity fields (required)- Since:
- 5.1.4
-
-