Package su.onno.process
Interface TypedDecision<P,O extends Enum<O>>
- Type Parameters:
P- process payload typeO- exhaustive set of decision outcomes
public interface TypedDecision<P,O extends Enum<O>>
Immediate, side-effect-free choice with a closed enum result.
-
Method Summary
-
Method Details
-
outcomeType
Enum class used to validate that every possible result has a route. -
decide
Select the route for the current payload.
-