Package org.jobrunr.jobs.states
Class AbstractJobState
- java.lang.Object
-
- org.jobrunr.jobs.states.AbstractJobState
-
- All Implemented Interfaces:
JobState
- Direct Known Subclasses:
DeletedState
,EnqueuedState
,FailedState
,ProcessingState
,ScheduledState
,SucceededState
public abstract class AbstractJobState extends java.lang.Object implements JobState
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractJobState(StateName state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Instant
getCreatedAt()
StateName
getName()
java.time.Instant
getUpdatedAt()
-
-
-
Constructor Detail
-
AbstractJobState
protected AbstractJobState(StateName state)
-
-
Method Detail
-
getCreatedAt
public java.time.Instant getCreatedAt()
- Specified by:
getCreatedAt
in interfaceJobState
-
getUpdatedAt
public java.time.Instant getUpdatedAt()
- Specified by:
getUpdatedAt
in interfaceJobState
-
-