Class Job


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

      • id

        public final Long id
        The job record id (PK).
      • name

        public final String name
        The job name.
      • orgId

        public final Long orgId
        The organization id (PK).
      • clientCode

        public final String clientCode
        The organization client code.
      • controllerServiceId

        public final Long controllerServiceId
        The job controller service id.
      • jobKey

        public final String jobKey
        The job key.
      • referenceNumber

        public final String referenceNumber
        The job reference number.
      • status

        public final String status
        The job status.
      • currentJobStepId

        public final Long currentJobStepId
        The current job step id (PK).
      • timeCompletionScheduled

        public final Date timeCompletionScheduled
        The time the job is scheduled for completion.
      • timeCreated

        public final Date timeCreated
        The time the job was created.
      • timeFinished

        public final Date timeFinished
        The time the job was finished.
      • timeLastProcessed

        public final Date timeLastProcessed
        The time the job was last processed.
      • timePurgeScheduled

        public final Date timePurgeScheduled
        The time the job is scheduled to be purged.
      • txnIdList

        public List<Long> txnIdList
        The list of job transaction ids.
      • jobSteps

        public List<JobStep> jobSteps
        The list of job steps.
      • propertyMap

        public final Map<String,​String> propertyMap
        The job property map.
    • Constructor Detail

      • Job

        public Job​(com.avoka.fc.core.entity.Job job)
        Create a Job value object with the given job entity parameter.
        Parameters:
        job - the job entity parameter (required)
      • Job

        public Job​(Map fields)
        Create a unit testing Job 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.