org.gcube.common.core.utils.handlers.lifetime
Class State.Running
java.lang.Object
org.gcube.common.core.utils.handlers.lifetime.State
org.gcube.common.core.utils.handlers.lifetime.State.Running
- Enclosing class:
- State
public static class State.Running
- extends State
Specialises State for the state of a handler that is executing.
The state is public and is associated with a Running event.
INSTANCE
public static final State.Running INSTANCE
State.Running
protected State.Running()
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.