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 Integer
actionAttempts
The job action attempts.Integer
actionMaxAttempts
The job action maximum attempts.String
actionMessage
The job action message.Long
actionServiceId
The job action service definition id (PK).Integer
assignRepeatIndex
The assign repeat index.String
assignRepeatItem
The assign repeat item.String
externalReferenceNumber
The job action external reference number.Long
id
The job action record (PK).String
jobActionKey
The job action key.String
jobAtionKey
Deprecated.String
name
The job action name.String
routeResult
The job action route result.Integer
sequence
The job action sequence.String
status
The job action status.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.Date
timeActionExecuted
The time action was last executed.Date
timeActionNextAttempt
The time action should next be attempted.Date
timeCreated
The time the job action was created.Date
timeFinished
The time the job action was finished.Long
txnId
The action transaction id (PK).String
type
The 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
-
-