Class JobAction


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

      Fields 
      Modifier and Type Field Description
      java.lang.Integer actionAttempts
      The job action attempts.
      java.lang.Integer actionMaxAttempts
      The job action maximum attempts.
      java.lang.String actionMessage
      The job action message.
      java.lang.Long actionServiceId
      The job action service definition id (PK).
      java.lang.Integer assignRepeatIndex
      The assign repeat index.
      java.lang.String assignRepeatItem
      The assign repeat item.
      java.lang.String externalReferenceNumber
      The job action external reference number.
      java.lang.Long id
      The job action record (PK).
      java.lang.String jobActionKey
      The job action key.
      java.lang.String jobAtionKey
      Deprecated.
      java.lang.String name
      The job action name.
      java.lang.String routeResult
      The job action route result.
      java.lang.Integer sequence
      The job action sequence.
      java.lang.String status
      The job action status.
      static java.lang.String STATUS_ASSIGNED
      The job step "Assigned" status.
      static java.lang.String STATUS_CANCELLED
      The job step "Cancelled" status.
      static java.lang.String STATUS_COMPLETED
      The job step "Completed" status.
      static java.lang.String STATUS_ERROR
      The job step "Error" status.
      static java.lang.String STATUS_EXPIRED
      The job step "Expired" status.
      static java.lang.String STATUS_IN_PROGRESS
      The job step "In Progress" status.
      static java.lang.String STATUS_INVOKED
      The job step "Invoked" status.
      static java.lang.String STATUS_PENDING
      The job step "Pending" status.
      static java.lang.String STATUS_READY
      The job step "Ready" status.
      java.util.Date timeActionExecuted
      The time action was last executed.
      java.util.Date timeActionNextAttempt
      The time action should next be attempted.
      java.util.Date timeCreated
      The time the job action was created.
      java.util.Date timeFinished
      The time the job action was finished.
      java.lang.Long txnId
      The action transaction id (PK).
      java.lang.String type
      The job action type.
    • Constructor Summary

      Constructors 
      Constructor Description
      JobAction​(com.avoka.fc.core.entity.JobAction jobAction)
      Create a Job Action value object with the given job action entity parameter.
      JobAction​(java.util.Map fields)
      Create a unit testing JobAction value object with the given fields.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • STATUS_ASSIGNED

        public static final java.lang.String STATUS_ASSIGNED
        The job step "Assigned" status.
        See Also:
        Constant Field Values
      • STATUS_CANCELLED

        public static final java.lang.String STATUS_CANCELLED
        The job step "Cancelled" status.
        See Also:
        Constant Field Values
      • STATUS_COMPLETED

        public static final java.lang.String STATUS_COMPLETED
        The job step "Completed" status.
        See Also:
        Constant Field Values
      • STATUS_ERROR

        public static final java.lang.String STATUS_ERROR
        The job step "Error" status.
        See Also:
        Constant Field Values
      • STATUS_EXPIRED

        public static final java.lang.String STATUS_EXPIRED
        The job step "Expired" status.
        See Also:
        Constant Field Values
      • STATUS_IN_PROGRESS

        public static final java.lang.String STATUS_IN_PROGRESS
        The job step "In Progress" status.
        See Also:
        Constant Field Values
      • STATUS_INVOKED

        public static final java.lang.String STATUS_INVOKED
        The job step "Invoked" status.
        See Also:
        Constant Field Values
      • STATUS_PENDING

        public static final java.lang.String STATUS_PENDING
        The job step "Pending" status.
        See Also:
        Constant Field Values
      • STATUS_READY

        public static final java.lang.String STATUS_READY
        The job step "Ready" status.
        See Also:
        Constant Field Values
      • id

        public final java.lang.Long id
        The job action record (PK).
      • jobAtionKey

        @Deprecated
        public final java.lang.String jobAtionKey
        Deprecated.
        The job action key.
      • jobActionKey

        public final java.lang.String jobActionKey
        The job action key.
      • name

        public final java.lang.String name
        The job action name.
      • type

        public final java.lang.String type
        The job action type.
      • status

        public final java.lang.String status
        The job action status.
      • actionAttempts

        public final java.lang.Integer actionAttempts
        The job action attempts.
      • actionMaxAttempts

        public final java.lang.Integer actionMaxAttempts
        The job action maximum attempts.
      • actionMessage

        public final java.lang.String actionMessage
        The job action message.
      • routeResult

        public final java.lang.String routeResult
        The job action route result.
      • externalReferenceNumber

        public final java.lang.String externalReferenceNumber
        The job action external reference number.
      • sequence

        public final java.lang.Integer sequence
        The job action sequence.
      • assignRepeatIndex

        public final java.lang.Integer assignRepeatIndex
        The assign repeat index.
      • assignRepeatItem

        public final java.lang.String assignRepeatItem
        The assign repeat item.
      • actionServiceId

        public final java.lang.Long actionServiceId
        The job action service definition id (PK).
      • txnId

        public final java.lang.Long txnId
        The action transaction id (PK).
      • timeCreated

        public final java.util.Date timeCreated
        The time the job action was created.
      • timeActionExecuted

        public final java.util.Date timeActionExecuted
        The time action was last executed.
      • timeActionNextAttempt

        public final java.util.Date timeActionNextAttempt
        The time action should next be attempted.
      • timeFinished

        public final java.util.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​(java.util.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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.