Class ScheduledJob

java.lang.Object
pro.taskana.common.api.ScheduledJob

public class ScheduledJob extends Object
This class holds all data that go into the Job table.
  • Constructor Details

    • ScheduledJob

      public ScheduledJob()
  • Method Details

    • getJobId

      public Integer getJobId()
    • setJobId

      public void setJobId(Integer jobId)
    • getPriority

      public Integer getPriority()
    • setPriority

      public void setPriority(Integer priority)
    • getCreated

      public Instant getCreated()
    • setCreated

      public void setCreated(Instant created)
    • getDue

      public Instant getDue()
    • setDue

      public void setDue(Instant due)
    • getState

      public ScheduledJob.State getState()
    • setState

      public void setState(ScheduledJob.State state)
    • getLockedBy

      public String getLockedBy()
    • setLockedBy

      public void setLockedBy(String lockedBy)
    • getLockExpires

      public Instant getLockExpires()
    • setLockExpires

      public void setLockExpires(Instant lockExpires)
    • getArguments

      public Map<String,String> getArguments()
    • setArguments

      public void setArguments(Map<String,String> arguments)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getRetryCount

      public int getRetryCount()
    • setRetryCount

      public void setRetryCount(int retryCount)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object