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.
-
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
-
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
-
-
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.
-
-