Class DtoJobSequence

java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoJobSequence
All Implemented Interfaces:
IDtoJobSequence

public class DtoJobSequence extends Object implements IDtoJobSequence
Jobs that are only allowed to happen in this exact sequence on the same device.
  • Constructor Details

    • DtoJobSequence

      protected DtoJobSequence()
    • DtoJobSequence

      public DtoJobSequence(String id, String[] jobs)
  • Method Details

    • getId

      public String getId()
      Id of this sequence (to reference in disqualifications or exceptions), must be unique in the context of all sequences.
      Specified by:
      getId in interface IDtoJobSequence
    • setId

      public void setId(String id)
      Id of this sequence (to reference in disqualifications or exceptions), must be unique in the context of all sequences.
      Specified by:
      setId in interface IDtoJobSequence
    • getJobs

      public String[] getJobs()
      These job need to happen in this sequence on one device.
      Specified by:
      getJobs in interface IDtoJobSequence
    • setJobs

      public void setJobs(String[] jobs)
      These job need to happen in this sequence on one device.
      Specified by:
      setJobs in interface IDtoJobSequence
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • withId

      public DtoJobSequence withId(String id)
      Id of this sequence (to reference in disqualifications or exceptions), must be unique in the context of all sequences.
    • withJobs

      public DtoJobSequence withJobs(String[] jobs)
      These job need to happen in this sequence on one device.