Interface FunctionStateContext
-
public interface FunctionStateContext
Context for executing aFunctionState
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionState
executeDelegate(FunctionState delegate)
Wraps executing the delegateFunctionState
to enable breaking the delegate chain.
-
-
-
Method Detail
-
executeDelegate
FunctionState executeDelegate(FunctionState delegate) throws java.lang.Throwable
Wraps executing the delegateFunctionState
to enable breaking the delegate chain. This avoidsStackOverflowError
issues.- Parameters:
delegate
- DelegateFunctionState
.- Returns:
- Next
FunctionState
to execute. - Throws:
java.lang.Throwable
- If failure in executing the delegateFunctionState
.
-
-