org.gcube.common.core.utils.handlers.lifetime
Class State.Done
java.lang.Object
org.gcube.common.core.utils.handlers.lifetime.State
org.gcube.common.core.utils.handlers.lifetime.State.Done
- Enclosing class:
- State
public static class State.Done
- extends State
Specialises State for the state of a handler that has completed execution.
The state is public and is associated with a Done event.
INSTANCE
public static final State.Done INSTANCE
State.Done
protected State.Done()
addPrevious
protected void addPrevious(List<State> previous)
- Description copied from class:
State
- Adds the states from which a handler may transition to this state.
- Specified by:
addPrevious in class State
- Parameters:
previous - the previous states.
getLifetimeEvent
public Event.LifetimeEvent getLifetimeEvent()
- Description copied from class:
State
- Returns a
Event.LifetimeEvent for the transition to this state.
Return null if the transition should not be notified.
- Overrides:
getLifetimeEvent in class State
- Returns:
- the event.
Copyright © 2013. All Rights Reserved.