public class NoopTransition extends AbstractTransition
Transition
implementation which does nothing but change the state.Constructor and Description |
---|
NoopTransition(Object eventId)
|
NoopTransition(Object eventId,
State nextState)
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
doExecute(Event event)
Executes this
Transition . |
equals, execute, getNextState, hashCode, toString
protected boolean doExecute(Event event)
Transition
. This method doesn't have to check
if the Event
's id matches because AbstractTransition.execute(Event)
has
already made sure that that is the case.doExecute
in class AbstractTransition
event
- the current Event
.Transition
has been executed
successfully and the StateMachine
should move to the
next State
. false otherwise.Copyright © 2004–2018 Apache MINA Project. All rights reserved.