Class JobAction


  • public class JobAction
    extends Object
    Provide a Job Action value object class.
    Since:
    5.0.0
    • Field Detail

      • 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()
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.
      • 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.