-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Hello everyone,
I am trying to use the EasyFlow framework, but I have a problem when I try to call the "on" method.
I have writen the following code:
public enum States implements StateEnum {
NEW, SUGGESTION
}
public enum Events implements EventEnum {
CONFIRM, CANCEL
}
EasyFlow<FlowContext> flow =
FlowBuilder.from(States.NEW)
.transit(
on(Events.CONFIRM).to(States.SUGGESTION));
At the code above, the "on" method is not recognized.
Do you have any idea how I could resolve this problem?
Metadata
Metadata
Assignees
Labels
No labels