Record Class Job

java.lang.Object
java.lang.Record
com.avoka.tm.vo.v1.Job
Record Components:
name - name
jobKey - job key
jobRefNumber - job reference number
status - status
clientCode - client code
controller - controller
currentStep - current step
currentAction - current action
groupName - group name
processImmediate - process immediate
timeCreated - time created
timeFinished - time finished
timeCompletionScheduled - time completion schedule
timeLastModified - time last modified
properties - properties

public record Job(String name, String jobKey, String jobRefNumber, String status, String clientCode, String controller, String currentStep, String currentAction, String groupName, Boolean processImmediate, Date timeCreated, Date timeFinished, Date timeCompletionScheduled, Date timeLastModified, Map<String,String> properties) extends Record
Job Object Model
Since:
24.10.0
  • Constructor Details

    • Job

      public Job(com.avoka.fc.core.entity.Job job)
    • Job

      public Job(String name, String jobKey, String jobRefNumber, String status, String clientCode, String controller, String currentStep, String currentAction, String groupName, Boolean processImmediate, Date timeCreated, Date timeFinished, Date timeCompletionScheduled, Date timeLastModified, Map<String,String> properties)
      Creates an instance of a Job record class.
      Parameters:
      name - the value for the name record component
      jobKey - the value for the jobKey record component
      jobRefNumber - the value for the jobRefNumber record component
      status - the value for the status record component
      clientCode - the value for the clientCode record component
      controller - the value for the controller record component
      currentStep - the value for the currentStep record component
      currentAction - the value for the currentAction record component
      groupName - the value for the groupName record component
      processImmediate - the value for the processImmediate record component
      timeCreated - the value for the timeCreated record component
      timeFinished - the value for the timeFinished record component
      timeCompletionScheduled - the value for the timeCompletionScheduled record component
      timeLastModified - the value for the timeLastModified record component
      properties - the value for the properties record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • jobKey

      public String jobKey()
      Returns the value of the jobKey record component.
      Returns:
      the value of the jobKey record component
    • jobRefNumber

      public String jobRefNumber()
      Returns the value of the jobRefNumber record component.
      Returns:
      the value of the jobRefNumber record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • clientCode

      public String clientCode()
      Returns the value of the clientCode record component.
      Returns:
      the value of the clientCode record component
    • controller

      public String controller()
      Returns the value of the controller record component.
      Returns:
      the value of the controller record component
    • currentStep

      public String currentStep()
      Returns the value of the currentStep record component.
      Returns:
      the value of the currentStep record component
    • currentAction

      public String currentAction()
      Returns the value of the currentAction record component.
      Returns:
      the value of the currentAction record component
    • groupName

      public String groupName()
      Returns the value of the groupName record component.
      Returns:
      the value of the groupName record component
    • processImmediate

      public Boolean processImmediate()
      Returns the value of the processImmediate record component.
      Returns:
      the value of the processImmediate record component
    • timeCreated

      public Date timeCreated()
      Returns the value of the timeCreated record component.
      Returns:
      the value of the timeCreated record component
    • timeFinished

      public Date timeFinished()
      Returns the value of the timeFinished record component.
      Returns:
      the value of the timeFinished record component
    • timeCompletionScheduled

      public Date timeCompletionScheduled()
      Returns the value of the timeCompletionScheduled record component.
      Returns:
      the value of the timeCompletionScheduled record component
    • timeLastModified

      public Date timeLastModified()
      Returns the value of the timeLastModified record component.
      Returns:
      the value of the timeLastModified record component
    • properties

      public Map<String,String> properties()
      Returns the value of the properties record component.
      Returns:
      the value of the properties record component