ch.tatool.core.element
Class DefaultExecutionStrategy
java.lang.Object
ch.tatool.core.element.DefaultExecutionStrategy
- All Implemented Interfaces:
- ExecutionStrategy, TemporaryElementSupport
public class DefaultExecutionStrategy
- extends Object
- implements ExecutionStrategy, TemporaryElementSupport
Default execution strategy implementation.
This strategy updates the stack so that the top element contains an executable element.
- Author:
- Michael Ruflin.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExecutionStrategy
public DefaultExecutionStrategy()
addTemporaryElement
public void addTemporaryElement(Element element)
- Specified by:
addTemporaryElement in interface TemporaryElementSupport
updateElementStack
public boolean updateElementStack(ExecutionContext executionContext)
- Updates the stack
- Specified by:
updateElementStack in interface ExecutionStrategy
- Returns:
- true if another element is ready for execution
Copyright © 2012. All Rights Reserved.