Package io.gs2.jobQueue.model
Class Job
java.lang.Object
io.gs2.jobQueue.model.Job
- All Implemented Interfaces:
IModel,Serializable,Comparable<Job>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic JobfromJson(com.fasterxml.jackson.databind.JsonNode data) getArgs()getJobId()getName()inthashCode()voidvoidsetCreatedAt(Long createdAt) voidsetCurrentRetryCount(Integer currentRetryCount) voidvoidsetMaxTryCount(Integer maxTryCount) voidvoidsetScriptId(String scriptId) voidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withCurrentRetryCount(Integer currentRetryCount) withMaxTryCount(Integer maxTryCount) withScriptId(String scriptId) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
Job
public Job()
-
-
Method Details
-
getJobId
-
setJobId
-
withJobId
-
getName
-
setName
-
withName
-
getUserId
-
setUserId
-
withUserId
-
getScriptId
-
setScriptId
-
withScriptId
-
getArgs
-
setArgs
-
withArgs
-
getCurrentRetryCount
-
setCurrentRetryCount
-
withCurrentRetryCount
-
getMaxTryCount
-
setMaxTryCount
-
withMaxTryCount
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Job>
-
hashCode
public int hashCode() -
equals
-