Package com.embabel.agent.api.annotation
Annotation State
-
- All Implemented Interfaces:
@Target(allowedTargets = {AnnotationTarget.CLASS}) public @interface State
Marks a class representing a state within a flow. States do not trigger subflows but hold a subset of actions. Returning a State from an action indicates a transition to that state and creates the effects of the state's ultimate goals.