colors
This commit is contained in:
25
src/main/java/com/example/statemachinedemo/Transition.java
Normal file
25
src/main/java/com/example/statemachinedemo/Transition.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.example.statemachinedemo;
|
||||
|
||||
import lombok.ToString;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Parses Spring State Machine transitions from configure method AST.
|
||||
*/
|
||||
@ToString
|
||||
public class Transition {
|
||||
public String type; // withExternal, withChoice, withInternal, etc.
|
||||
public String sourceState;
|
||||
public String targetState;
|
||||
public String event;
|
||||
|
||||
public String guard;
|
||||
public boolean isLambdaGuard = false;
|
||||
|
||||
public List<String> actions = new ArrayList<>();
|
||||
public List<Boolean> isLambdaActions = new ArrayList<>();
|
||||
|
||||
public Integer order = null; // optional order for withChoice or withJunction
|
||||
}
|
||||
Reference in New Issue
Block a user