Package pro.taskana.common.api
Class ScheduledJob
java.lang.Object
pro.taskana.common.api.ScheduledJob
This class holds all data that go into the Job table.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum tracks the state of a job. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDue()getJobId()intgetState()getType()inthashCode()voidsetArguments(Map<String, String> arguments) voidsetCreated(Instant created) voidvoidvoidsetLockedBy(String lockedBy) voidsetLockExpires(Instant lockExpires) voidsetPriority(Integer priority) voidsetRetryCount(int retryCount) voidsetState(ScheduledJob.State state) voidtoString()
-
Constructor Details
-
ScheduledJob
public ScheduledJob()
-
-
Method Details
-
getJobId
-
setJobId
-
getPriority
-
setPriority
-
getCreated
-
setCreated
-
getDue
-
setDue
-
getState
-
setState
-
getLockedBy
-
setLockedBy
-
getLockExpires
-
setLockExpires
-
getArguments
-
setArguments
-
getType
-
setType
-
getRetryCount
public int getRetryCount() -
setRetryCount
public void setRetryCount(int retryCount) -
hashCode
public int hashCode() -
equals
-
toString
-