Package io.molr.mole.core.tree.executor
Class StrandExecutionState
- java.lang.Object
-
- io.molr.mole.core.tree.executor.StrandExecutionState
-
- Direct Known Subclasses:
CompletedState
,ExecuteChildrenState
,NavigatingState
,PausedState
public abstract class StrandExecutionState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ConcurrentStrandExecutor
context
-
Constructor Summary
Constructors Constructor Description StrandExecutionState(ConcurrentStrandExecutor context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Set<io.molr.commons.domain.StrandCommand>
allowedCommands()
protected abstract void
executeCommand(io.molr.commons.domain.StrandCommand command)
abstract void
onEnterState()
abstract void
run()
-
-
-
Field Detail
-
context
protected ConcurrentStrandExecutor context
-
-
Constructor Detail
-
StrandExecutionState
public StrandExecutionState(ConcurrentStrandExecutor context)
-
-