Class Job

java.lang.Object
io.gs2.jobQueue.model.Job
All Implemented Interfaces:
IModel, Serializable, Comparable<Job>

public class Job extends Object implements IModel, Serializable, Comparable<Job>
See Also:
  • Constructor Details

    • Job

      public Job()
  • Method Details

    • getJobId

      public String getJobId()
    • setJobId

      public void setJobId(String jobId)
    • withJobId

      public Job withJobId(String jobId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public Job withName(String name)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Job withUserId(String userId)
    • getScriptId

      public String getScriptId()
    • setScriptId

      public void setScriptId(String scriptId)
    • withScriptId

      public Job withScriptId(String scriptId)
    • getArgs

      public String getArgs()
    • setArgs

      public void setArgs(String args)
    • withArgs

      public Job withArgs(String args)
    • getCurrentRetryCount

      public Integer getCurrentRetryCount()
    • setCurrentRetryCount

      public void setCurrentRetryCount(Integer currentRetryCount)
    • withCurrentRetryCount

      public Job withCurrentRetryCount(Integer currentRetryCount)
    • getMaxTryCount

      public Integer getMaxTryCount()
    • setMaxTryCount

      public void setMaxTryCount(Integer maxTryCount)
    • withMaxTryCount

      public Job withMaxTryCount(Integer maxTryCount)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Job withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Job withUpdatedAt(Long updatedAt)
    • fromJson

      public static Job fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Job o)
      Specified by:
      compareTo in interface Comparable<Job>
    • hashCode

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

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