public abstract class BaseStateMachine extends Object implements StateMachine
Constructor and Description |
---|
BaseStateMachine() |
Modifier and Type | Method and Description |
---|---|
protected abstract com.google.common.collect.Multimap<com.edorasware.commons.core.entity.State,com.edorasware.commons.core.entity.State> |
createAllowedTransitions() |
void |
validateStateChange(com.edorasware.commons.core.entity.State oldState,
com.edorasware.commons.core.entity.State newState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInitialState, getSupportedTypes
protected abstract com.google.common.collect.Multimap<com.edorasware.commons.core.entity.State,com.edorasware.commons.core.entity.State> createAllowedTransitions()
public void validateStateChange(com.edorasware.commons.core.entity.State oldState, com.edorasware.commons.core.entity.State newState)
validateStateChange
in interface StateMachine
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.