Package io.gs2.jobQueue.model
Class JobResult
java.lang.Object
io.gs2.jobQueue.model.JobResult
- All Implemented Interfaces:
IModel,Serializable,Comparable<JobResult>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic JobResultfromJson(com.fasterxml.jackson.databind.JsonNode data) getArgs()getJobId()getTryAt()inthashCode()voidvoidvoidsetJobResultId(String jobResultId) voidvoidsetScriptId(String scriptId) voidsetStatusCode(Integer statusCode) voidvoidsetTryNumber(Integer tryNumber) com.fasterxml.jackson.databind.JsonNodetoJson()withJobResultId(String jobResultId) withResult(String result) withScriptId(String scriptId) withStatusCode(Integer statusCode) withTryNumber(Integer tryNumber)
-
Constructor Details
-
JobResult
public JobResult()
-
-
Method Details
-
getJobResultId
-
setJobResultId
-
withJobResultId
-
getJobId
-
setJobId
-
withJobId
-
getScriptId
-
setScriptId
-
withScriptId
-
getArgs
-
setArgs
-
withArgs
-
getTryNumber
-
setTryNumber
-
withTryNumber
-
getStatusCode
-
setStatusCode
-
withStatusCode
-
getResult
-
setResult
-
withResult
-
getTryAt
-
setTryAt
-
withTryAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<JobResult>
-
hashCode
public int hashCode() -
equals
-