|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateChanger<S extends State>
Implementations provide the ability to change something's
JobState
.
Method Summary | |
---|---|
void |
setState(S state)
Set the state to given state. |
void |
setState(S state,
Date date)
Set the state to the given state with the given event time. |
void |
setStateException(Throwable t)
Set the state to an EXCEPTION state. |
void |
setStateException(Throwable t,
Date date)
Set the state to an EXCEPTION state with the given event time. |
Method Detail |
---|
void setState(S state) throws JobDestroyedException
state
-
JobDestroyedException
void setState(S state, Date date) throws JobDestroyedException
state
- date
-
JobDestroyedException
void setStateException(Throwable t) throws JobDestroyedException
t
- The Exception.
JobDestroyedException
void setStateException(Throwable t, Date date) throws JobDestroyedException
t
- The Exception.
JobDestroyedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |