fqn names of events and states
This commit is contained in:
22
InspectGolden.java
Normal file
22
InspectGolden.java
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
import java.nio.file.*;
|
||||||
|
import java.util.*;
|
||||||
|
import click.kamil.springstatemachineexporter.service.ExportService;
|
||||||
|
import click.kamil.springstatemachineexporter.exporter.*;
|
||||||
|
import click.kamil.springstatemachineexporter.analysis.service.EnrichmentService;
|
||||||
|
|
||||||
|
public class InspectGolden {
|
||||||
|
public static void main(String[] args) throws Exception {
|
||||||
|
Path inputDir = Path.of("state_machines/complex_state_machine");
|
||||||
|
Path tempDir = Files.createTempDirectory("golden-update-");
|
||||||
|
|
||||||
|
List<StateMachineExporter> exporters = List.of(new PlantUml(), new Dot(), new Scxml(), new JsonExporter());
|
||||||
|
EnrichmentService enrichmentService = new EnrichmentService(Collections.emptyList());
|
||||||
|
ExportService exportService = new ExportService(exporters, enrichmentService);
|
||||||
|
|
||||||
|
exportService.runExporter(inputDir, tempDir, null, true);
|
||||||
|
|
||||||
|
try (var stream = Files.list(tempDir)) {
|
||||||
|
stream.forEach(System.out::println);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4
run_golden.gradle
Normal file
4
run_golden.gradle
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
task runGolden(type: JavaExec) {
|
||||||
|
mainClass = "click.kamil.springstatemachineexporter.GoldenUpdater"
|
||||||
|
classpath = sourceSets.test.runtimeClasspath
|
||||||
|
}
|
||||||
@@ -53,3 +53,14 @@ tasks.named('test') {
|
|||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
systemProperty "updateGolden", System.getProperty("updateGolden")
|
systemProperty "updateGolden", System.getProperty("updateGolden")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task runGolden(type: JavaExec) {
|
||||||
|
mainClass = "click.kamil.springstatemachineexporter.GoldenUpdater"
|
||||||
|
classpath = sourceSets.test.runtimeClasspath
|
||||||
|
}
|
||||||
|
|
||||||
|
task runGoldenFixed(type: JavaExec) {
|
||||||
|
mainClass = "click.kamil.springstatemachineexporter.GoldenUpdater"
|
||||||
|
classpath = sourceSets.test.runtimeClasspath
|
||||||
|
workingDir = rootProject.projectDir
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class AnalysisResult {
|
|||||||
if (transitions != null) {
|
if (transitions != null) {
|
||||||
for (var t : transitions) {
|
for (var t : transitions) {
|
||||||
if (t.getEvent() != null) {
|
if (t.getEvent() != null) {
|
||||||
t.setEvent(resolver.resolveValue(t.getEvent(), properties));
|
t.setEvent(click.kamil.springstatemachineexporter.model.Event.of(t.getEvent().rawName(), resolver.resolveValue(t.getEvent().fullIdentifier(), properties)));
|
||||||
}
|
}
|
||||||
// Resolve states within transitions
|
// Resolve states within transitions
|
||||||
t.setSourceStates(t.getSourceStates().stream()
|
t.setSourceStates(t.getSourceStates().stream()
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import click.kamil.springstatemachineexporter.analysis.resolver.ConstantResolver
|
|||||||
import click.kamil.springstatemachineexporter.model.Action;
|
import click.kamil.springstatemachineexporter.model.Action;
|
||||||
import click.kamil.springstatemachineexporter.model.Guard;
|
import click.kamil.springstatemachineexporter.model.Guard;
|
||||||
import click.kamil.springstatemachineexporter.model.State;
|
import click.kamil.springstatemachineexporter.model.State;
|
||||||
|
import click.kamil.springstatemachineexporter.model.Event;
|
||||||
import click.kamil.springstatemachineexporter.model.Transition;
|
import click.kamil.springstatemachineexporter.model.Transition;
|
||||||
import click.kamil.springstatemachineexporter.model.TransitionType;
|
import click.kamil.springstatemachineexporter.model.TransitionType;
|
||||||
import click.kamil.springstatemachineexporter.ast.common.CodebaseContext;
|
import click.kamil.springstatemachineexporter.ast.common.CodebaseContext;
|
||||||
@@ -213,9 +214,30 @@ public class AstTransitionParser {
|
|||||||
Expression resolved = resolveArg((Expression) args.get(0), argsMap);
|
Expression resolved = resolveArg((Expression) args.get(0), argsMap);
|
||||||
String eventValue = constantResolver.resolve(resolved, context);
|
String eventValue = constantResolver.resolve(resolved, context);
|
||||||
if (eventValue != null) {
|
if (eventValue != null) {
|
||||||
t.setEvent(eventValue);
|
t.setEvent(Event.of(resolved.toString(), eventValue));
|
||||||
|
} else if (resolved instanceof QualifiedName qn) {
|
||||||
|
String qualifier = qn.getQualifier().toString();
|
||||||
|
String name = qn.getName().getIdentifier();
|
||||||
|
TypeDeclaration td = context.getTypeDeclaration(qualifier, cu);
|
||||||
|
if (td != null) {
|
||||||
|
t.setEvent(Event.of(resolved.toString(), context.getFqn(td) + "." + name));
|
||||||
|
} else {
|
||||||
|
t.setEvent(Event.of(resolved.toString(), qn.getFullyQualifiedName()));
|
||||||
|
}
|
||||||
|
} else if (resolved instanceof SimpleName sn) {
|
||||||
|
String name = sn.getIdentifier();
|
||||||
|
String full = name;
|
||||||
|
for (Object impObj : cu.imports()) {
|
||||||
|
ImportDeclaration imp = (ImportDeclaration) impObj;
|
||||||
|
String impName = imp.getName().getFullyQualifiedName();
|
||||||
|
if (impName.endsWith("." + name)) {
|
||||||
|
full = impName;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
t.setEvent(Event.of(resolved.toString(), full));
|
||||||
} else {
|
} else {
|
||||||
t.setEvent(QuotedExpression.of(resolved).toStringWithoutQuotes());
|
t.setEvent(Event.of(QuotedExpression.of(resolved).toStringWithoutQuotes()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "guard" -> {
|
case "guard" -> {
|
||||||
|
|||||||
@@ -48,6 +48,12 @@ public class ExporterCommand implements Callable<Integer> {
|
|||||||
@Option(names = {"-p", "--profiles"}, description = "Spring profiles to activate for property resolution.", split = ",")
|
@Option(names = {"-p", "--profiles"}, description = "Spring profiles to activate for property resolution.", split = ",")
|
||||||
private List<String> activeProfiles;
|
private List<String> activeProfiles;
|
||||||
|
|
||||||
|
@Option(names = {"--event"}, description = "Format for events when they are enums: fn (fullName, default), fqn (fully qualified name), sn (short name)", defaultValue = "fn")
|
||||||
|
private click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat;
|
||||||
|
|
||||||
|
@Option(names = {"--state"}, description = "Format for states when they are enums: fn (fullName, default), fqn (fully qualified name), sn (short name)", defaultValue = "fn")
|
||||||
|
private click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Integer call() throws Exception {
|
public Integer call() throws Exception {
|
||||||
var out = spec.commandLine().getOut();
|
var out = spec.commandLine().getOut();
|
||||||
@@ -71,9 +77,9 @@ public class ExporterCommand implements Callable<Integer> {
|
|||||||
try {
|
try {
|
||||||
List<String> profiles = activeProfiles != null ? activeProfiles : java.util.Collections.emptyList();
|
List<String> profiles = activeProfiles != null ? activeProfiles : java.util.Collections.emptyList();
|
||||||
if (jsonFile != null) {
|
if (jsonFile != null) {
|
||||||
exportService.runJsonExporter(jsonFile, outputDir, selectedFormats, profiles);
|
exportService.runJsonExporter(jsonFile, outputDir, selectedFormats, profiles, eventFormat, stateFormat);
|
||||||
} else {
|
} else {
|
||||||
exportService.runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, profiles);
|
exportService.runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, profiles, eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
out.println(CommandLine.Help.Ansi.AUTO.string("%n@|bold,green SUCCESS:|@ All state machines have been exported to " + outputDir.toAbsolutePath()));
|
out.println(CommandLine.Help.Ansi.AUTO.string("%n@|bold,green SUCCESS:|@ All state machines have been exported to " + outputDir.toAbsolutePath()));
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class Dot implements StateMachineExporter {
|
|||||||
for (Transition t : transitions) {
|
for (Transition t : transitions) {
|
||||||
if (t.getType() == TransitionType.CHOICE && t.getSourceStates() != null) {
|
if (t.getType() == TransitionType.CHOICE && t.getSourceStates() != null) {
|
||||||
for (State source : t.getSourceStates()) {
|
for (State source : t.getSourceStates()) {
|
||||||
String simplified = simplify(source.toString());
|
String simplified = simplify(options.formatState(source));
|
||||||
statesWithChoice.add(simplified);
|
statesWithChoice.add(simplified);
|
||||||
if (!choiceColorMap.containsKey(simplified)) {
|
if (!choiceColorMap.containsKey(simplified)) {
|
||||||
choiceColorMap.put(simplified, CHOICE_COLORS[colorIndex % CHOICE_COLORS.length]);
|
choiceColorMap.put(simplified, CHOICE_COLORS[colorIndex % CHOICE_COLORS.length]);
|
||||||
@@ -86,11 +86,11 @@ public class Dot implements StateMachineExporter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (State rawSourceState : t.getSourceStates()) {
|
for (State rawSourceState : t.getSourceStates()) {
|
||||||
String rawSource = rawSourceState.toString();
|
String rawSource = options.formatState(rawSourceState);
|
||||||
String source = simplify(rawSource);
|
String source = simplify(rawSource);
|
||||||
|
|
||||||
for (State rawTargetState : targets) {
|
for (State rawTargetState : targets) {
|
||||||
String rawTarget = rawTargetState.toString();
|
String rawTarget = options.formatState(rawTargetState);
|
||||||
String target = simplify(rawTarget);
|
String target = simplify(rawTarget);
|
||||||
String edgeSource = source;
|
String edgeSource = source;
|
||||||
|
|
||||||
@@ -100,8 +100,11 @@ public class Dot implements StateMachineExporter {
|
|||||||
|
|
||||||
// Label: event [guard] / actions
|
// Label: event [guard] / actions
|
||||||
StringBuilder label = new StringBuilder();
|
StringBuilder label = new StringBuilder();
|
||||||
if (t.getEvent() != null && !t.getEvent().isBlank()) {
|
if (t.getEvent() != null) {
|
||||||
label.append(escapeDotString(t.getEvent()));
|
String eventStr = options.formatEvent(t.getEvent());
|
||||||
|
if (eventStr != null && !eventStr.isBlank()) {
|
||||||
|
label.append(escapeDotString(eventStr));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Guard
|
// Guard
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package click.kamil.springstatemachineexporter.exporter;
|
||||||
|
|
||||||
|
public enum EnumFormat {
|
||||||
|
fn, fqn, sn
|
||||||
|
}
|
||||||
@@ -12,4 +12,35 @@ public class ExportOptions {
|
|||||||
boolean renderChoicesAsDiamonds = true;
|
boolean renderChoicesAsDiamonds = true;
|
||||||
@Builder.Default
|
@Builder.Default
|
||||||
boolean embedIdentifiers = false;
|
boolean embedIdentifiers = false;
|
||||||
|
|
||||||
|
@Builder.Default
|
||||||
|
EnumFormat eventFormat = EnumFormat.fn;
|
||||||
|
@Builder.Default
|
||||||
|
EnumFormat stateFormat = EnumFormat.fn;
|
||||||
|
|
||||||
|
public String formatState(click.kamil.springstatemachineexporter.model.State state) {
|
||||||
|
if (state == null) return null;
|
||||||
|
return format(state.rawName(), state.fullIdentifier(), stateFormat);
|
||||||
|
}
|
||||||
|
|
||||||
|
public String formatEvent(click.kamil.springstatemachineexporter.model.Event event) {
|
||||||
|
if (event == null) return null;
|
||||||
|
return format(event.rawName(), event.fullIdentifier(), eventFormat);
|
||||||
|
}
|
||||||
|
|
||||||
|
private String format(String raw, String fqn, EnumFormat format) {
|
||||||
|
if (fqn == null) return raw;
|
||||||
|
switch (format) {
|
||||||
|
case fqn: return fqn;
|
||||||
|
case sn: return fqn.substring(fqn.lastIndexOf('.') + 1);
|
||||||
|
case fn:
|
||||||
|
int lastDot = fqn.lastIndexOf('.');
|
||||||
|
if (lastDot > 0) {
|
||||||
|
int prevDot = fqn.lastIndexOf('.', lastDot - 1);
|
||||||
|
return prevDot > 0 ? fqn.substring(prevDot + 1) : fqn;
|
||||||
|
}
|
||||||
|
return fqn;
|
||||||
|
default: return raw;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ public class PlantUml implements StateMachineExporter {
|
|||||||
for (Transition t : transitions) {
|
for (Transition t : transitions) {
|
||||||
if (t.getType() == TransitionType.CHOICE && t.getSourceStates() != null) {
|
if (t.getType() == TransitionType.CHOICE && t.getSourceStates() != null) {
|
||||||
for (State source : t.getSourceStates()) {
|
for (State source : t.getSourceStates()) {
|
||||||
statesWithChoice.add(simplify(source.toString()));
|
statesWithChoice.add(simplify(options.formatState(source)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -77,7 +77,7 @@ public class PlantUml implements StateMachineExporter {
|
|||||||
Set<String> junctionStates = transitions.stream()
|
Set<String> junctionStates = transitions.stream()
|
||||||
.filter(t -> t.getType() == TransitionType.JUNCTION)
|
.filter(t -> t.getType() == TransitionType.JUNCTION)
|
||||||
.flatMap(t -> t.getSourceStates().stream())
|
.flatMap(t -> t.getSourceStates().stream())
|
||||||
.map(s -> simplify(s.toString()))
|
.map(s -> simplify(options.formatState(s)))
|
||||||
.collect(Collectors.toCollection(java.util.LinkedHashSet::new));
|
.collect(Collectors.toCollection(java.util.LinkedHashSet::new));
|
||||||
for (String junction : junctionStates) {
|
for (String junction : junctionStates) {
|
||||||
if (options.isRenderChoicesAsDiamonds()) {
|
if (options.isRenderChoicesAsDiamonds()) {
|
||||||
@@ -96,16 +96,16 @@ public class PlantUml implements StateMachineExporter {
|
|||||||
List<String> targets;
|
List<String> targets;
|
||||||
if (t.getTargetStates() == null || t.getTargetStates().isEmpty()) {
|
if (t.getTargetStates() == null || t.getTargetStates().isEmpty()) {
|
||||||
if (!allowNoTarget) {
|
if (!allowNoTarget) {
|
||||||
targets = t.getSourceStates().stream().map(s -> s.toString()).toList();
|
targets = t.getSourceStates().stream().map(s -> options.formatState(s)).toList();
|
||||||
} else {
|
} else {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
targets = t.getTargetStates().stream().map(s -> s.toString()).toList();
|
targets = t.getTargetStates().stream().map(s -> options.formatState(s)).toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (State rawSourceState : t.getSourceStates()) {
|
for (State rawSourceState : t.getSourceStates()) {
|
||||||
String source = simplify(rawSourceState.toString());
|
String source = simplify(options.formatState(rawSourceState));
|
||||||
|
|
||||||
for (String rawTarget : targets) {
|
for (String rawTarget : targets) {
|
||||||
String target = simplify(rawTarget);
|
String target = simplify(rawTarget);
|
||||||
@@ -116,13 +116,17 @@ public class PlantUml implements StateMachineExporter {
|
|||||||
|
|
||||||
sb.append(" <<").append(styleClass).append(">>");
|
sb.append(" <<").append(styleClass).append(">>");
|
||||||
|
|
||||||
if (t.getEvent() != null && !t.getEvent().isBlank()) {
|
if (t.getEvent() != null) {
|
||||||
sb.append(" <<e_").append(normalize(t.getEvent())).append(">>");
|
String eventStr = options.formatEvent(t.getEvent());
|
||||||
|
if (eventStr != null && !eventStr.isBlank()) {
|
||||||
|
sb.append(" <<e_").append(normalize(eventStr)).append(">>");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String label = buildLabel(t, options.isUseLambdaGuards());
|
String label = buildLabel(t, options);
|
||||||
if (options.isEmbedIdentifiers()) {
|
if (options.isEmbedIdentifiers()) {
|
||||||
String linkId = t.getEvent() != null ? "link_" + normalize(t.getEvent()) : "link_anon_" + normalize(source) + "_" + normalize(target);
|
String eventStr = t.getEvent() != null ? options.formatEvent(t.getEvent()) : null;
|
||||||
|
String linkId = eventStr != null && !eventStr.isBlank() ? "link_" + normalize(eventStr) : "link_anon_" + normalize(source) + "_" + normalize(target);
|
||||||
// Force a label even if empty to ensure the link group exists in SVG
|
// Force a label even if empty to ensure the link group exists in SVG
|
||||||
String displayLabel = label.isEmpty() ? " " : label;
|
String displayLabel = label.isEmpty() ? " " : label;
|
||||||
// Brackets [...] in the label break PlantUML link syntax [[url label]],
|
// Brackets [...] in the label break PlantUML link syntax [[url label]],
|
||||||
@@ -191,14 +195,17 @@ public class PlantUml implements StateMachineExporter {
|
|||||||
return state.replaceAll("[^a-zA-Z0-9_.]", "");
|
return state.replaceAll("[^a-zA-Z0-9_.]", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
private String buildLabel(Transition t, boolean useLambdaGuards) {
|
private String buildLabel(Transition t, ExportOptions options) {
|
||||||
List<String> parts = new ArrayList<>();
|
List<String> parts = new ArrayList<>();
|
||||||
if (t.getEvent() != null && !t.getEvent().isBlank()) {
|
if (t.getEvent() != null) {
|
||||||
parts.add(t.getEvent());
|
String eventStr = options.formatEvent(t.getEvent());
|
||||||
|
if (eventStr != null && !eventStr.isBlank()) {
|
||||||
|
parts.add(eventStr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (t.getGuard() != null) {
|
if (t.getGuard() != null) {
|
||||||
String g = t.getGuard().expression();
|
String g = t.getGuard().expression();
|
||||||
if (useLambdaGuards && t.getGuard().isLambda()) {
|
if (options.isUseLambdaGuards() && t.getGuard().isLambda()) {
|
||||||
parts.add("[" + LAMBDA + "]");
|
parts.add("[" + LAMBDA + "]");
|
||||||
} else {
|
} else {
|
||||||
parts.add("[" + g.replaceAll("[\\n\\r]+", " ").replaceAll("\\s{2,}", " ").trim() + "]");
|
parts.add("[" + g.replaceAll("[\\n\\r]+", " ").replaceAll("\\s{2,}", " ").trim() + "]");
|
||||||
@@ -206,7 +213,7 @@ public class PlantUml implements StateMachineExporter {
|
|||||||
}
|
}
|
||||||
if (t.getActions() != null && !t.getActions().isEmpty()) {
|
if (t.getActions() != null && !t.getActions().isEmpty()) {
|
||||||
parts.add("/ " + t.getActions().stream()
|
parts.add("/ " + t.getActions().stream()
|
||||||
.map(a -> (useLambdaGuards && a.isLambda()) ? LAMBDA : a.expression().replaceAll("[\\n\\r]+", " ").replaceAll("\\s{2,}", " ").trim())
|
.map(a -> (options.isUseLambdaGuards() && a.isLambda()) ? LAMBDA : a.expression().replaceAll("[\\n\\r]+", " ").replaceAll("\\s{2,}", " ").trim())
|
||||||
.collect(Collectors.joining(", ")));
|
.collect(Collectors.joining(", ")));
|
||||||
}
|
}
|
||||||
Optional.ofNullable(t.getOrder())
|
Optional.ofNullable(t.getOrder())
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ public class Scxml implements StateMachineExporter {
|
|||||||
|
|
||||||
Set<String> allStates = new java.util.LinkedHashSet<>();
|
Set<String> allStates = new java.util.LinkedHashSet<>();
|
||||||
for (Transition t : transitions) {
|
for (Transition t : transitions) {
|
||||||
t.getSourceStates().forEach(s -> allStates.add(s.toString()));
|
t.getSourceStates().forEach(s -> allStates.add(options.formatState(s)));
|
||||||
t.getTargetStates().forEach(s -> allStates.add(s.toString()));
|
t.getTargetStates().forEach(s -> allStates.add(options.formatState(s)));
|
||||||
}
|
}
|
||||||
allStates.addAll(startStates);
|
allStates.addAll(startStates);
|
||||||
allStates.addAll(endStates);
|
allStates.addAll(endStates);
|
||||||
@@ -41,7 +41,7 @@ public class Scxml implements StateMachineExporter {
|
|||||||
sb.append(" <state id=\"").append(simplify(state)).append("\">\n");
|
sb.append(" <state id=\"").append(simplify(state)).append("\">\n");
|
||||||
|
|
||||||
for (Transition t : transitions) {
|
for (Transition t : transitions) {
|
||||||
if (t.getSourceStates() == null || t.getSourceStates().stream().noneMatch(s -> s.toString().equals(state)))
|
if (t.getSourceStates() == null || t.getSourceStates().stream().noneMatch(s -> options.formatState(s).equals(state)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
boolean allowNoTarget = t.getType() == TransitionType.JOIN || t.getType() == TransitionType.FORK;
|
boolean allowNoTarget = t.getType() == TransitionType.JOIN || t.getType() == TransitionType.FORK;
|
||||||
@@ -58,7 +58,7 @@ public class Scxml implements StateMachineExporter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (State target : targets) {
|
for (State target : targets) {
|
||||||
sb.append(renderTransition(t, target, options.isUseLambdaGuards()));
|
sb.append(renderTransition(t, target, options));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sb.append(" </state>\n");
|
sb.append(" </state>\n");
|
||||||
@@ -73,15 +73,18 @@ public class Scxml implements StateMachineExporter {
|
|||||||
return ".scxml.xml";
|
return ".scxml.xml";
|
||||||
}
|
}
|
||||||
|
|
||||||
private String renderTransition(Transition t, State target, boolean useLambdaGuards) {
|
private String renderTransition(Transition t, State target, ExportOptions options) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append(" <transition target=\"").append(simplify(target.toString())).append("\"");
|
sb.append(" <transition target=\"").append(simplify(options.formatState(target))).append("\"");
|
||||||
|
|
||||||
if (t.getEvent() != null && !t.getEvent().isBlank()) {
|
if (t.getEvent() != null) {
|
||||||
sb.append(" event=\"").append(escapeXml(t.getEvent())).append("\"");
|
String eventStr = options.formatEvent(t.getEvent());
|
||||||
|
if (eventStr != null && !eventStr.isBlank()) {
|
||||||
|
sb.append(" event=\"").append(escapeXml(eventStr)).append("\"");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
String guard = getGuardText(t, useLambdaGuards);
|
String guard = getGuardText(t, options.isUseLambdaGuards());
|
||||||
if (!guard.isBlank()) {
|
if (!guard.isBlank()) {
|
||||||
sb.append(" cond=\"").append(escapeXml(guard)).append("\"");
|
sb.append(" cond=\"").append(escapeXml(guard)).append("\"");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package click.kamil.springstatemachineexporter.model;
|
||||||
|
|
||||||
|
public record Event(String rawName, String fullIdentifier) {
|
||||||
|
public static Event of(String name) {
|
||||||
|
return new Event(name, name);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Event of(String raw, String full) {
|
||||||
|
return new Event(raw, full);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return fullIdentifier != null ? fullIdentifier : rawName;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -14,7 +14,7 @@ public class Transition {
|
|||||||
private TransitionType type;
|
private TransitionType type;
|
||||||
private List<State> sourceStates = new ArrayList<>();
|
private List<State> sourceStates = new ArrayList<>();
|
||||||
private List<State> targetStates = new ArrayList<>();
|
private List<State> targetStates = new ArrayList<>();
|
||||||
private String event;
|
private Event event;
|
||||||
|
|
||||||
private Guard guard;
|
private Guard guard;
|
||||||
private List<Action> actions = new ArrayList<>();
|
private List<Action> actions = new ArrayList<>();
|
||||||
|
|||||||
@@ -52,14 +52,22 @@ public class ExportService {
|
|||||||
public static final Set<String> STATE_MACHINE_RETURN_TYPES = Set.of("StateMachine", "StateMachineFactory", "StateMachineModelFactory");
|
public static final Set<String> STATE_MACHINE_RETURN_TYPES = Set.of("StateMachine", "StateMachineFactory", "StateMachineModelFactory");
|
||||||
|
|
||||||
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds) throws IOException {
|
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds) throws IOException {
|
||||||
runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, Collections.emptyList());
|
runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, Collections.emptyList(), click.kamil.springstatemachineexporter.exporter.EnumFormat.fn, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<String> activeProfiles) throws IOException {
|
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<String> activeProfiles) throws IOException {
|
||||||
runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, activeProfiles, null, null);
|
runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, activeProfiles, null, null, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<String> activeProfiles, Path flowsOverride, String machineFilter) throws IOException {
|
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<String> activeProfiles, Path flowsOverride, String machineFilter) throws IOException {
|
||||||
|
runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, activeProfiles, flowsOverride, machineFilter, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<String> activeProfiles, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
|
runExporter(inputDir, outputDir, selectedFormats, renderChoicesAsDiamonds, activeProfiles, null, null, eventFormat, stateFormat);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void runExporter(Path inputDir, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<String> activeProfiles, Path flowsOverride, String machineFilter, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
CodebaseContext context = new CodebaseContext();
|
CodebaseContext context = new CodebaseContext();
|
||||||
context.setActiveProfiles(activeProfiles);
|
context.setActiveProfiles(activeProfiles);
|
||||||
|
|
||||||
@@ -116,21 +124,25 @@ public class ExportService {
|
|||||||
context.scan(allPaths, Collections.emptySet());
|
context.scan(allPaths, Collections.emptySet());
|
||||||
|
|
||||||
CodebaseIntelligenceProvider intelligence = new JdtIntelligenceProvider(context, inputDir);
|
CodebaseIntelligenceProvider intelligence = new JdtIntelligenceProvider(context, inputDir);
|
||||||
exportAll(context, intelligence, outputDir, selectedFormats, renderChoicesAsDiamonds, flows, machineFilter, activeProfiles != null ? activeProfiles : Collections.emptyList());
|
exportAll(context, intelligence, outputDir, selectedFormats, renderChoicesAsDiamonds, flows, machineFilter, activeProfiles != null ? activeProfiles : Collections.emptyList(), eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void runJsonExporter(Path jsonFile, Path outputDir, List<String> selectedFormats) throws IOException {
|
public void runJsonExporter(Path jsonFile, Path outputDir, List<String> selectedFormats) throws IOException {
|
||||||
runJsonExporter(jsonFile, outputDir, selectedFormats, Collections.emptyList());
|
runJsonExporter(jsonFile, outputDir, selectedFormats, Collections.emptyList(), click.kamil.springstatemachineexporter.exporter.EnumFormat.fn, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void runJsonExporter(Path jsonFile, Path outputDir, List<String> selectedFormats, List<String> activeProfiles) throws IOException {
|
public void runJsonExporter(Path jsonFile, Path outputDir, List<String> selectedFormats, List<String> activeProfiles) throws IOException {
|
||||||
|
runJsonExporter(jsonFile, outputDir, selectedFormats, activeProfiles, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn, click.kamil.springstatemachineexporter.exporter.EnumFormat.fn);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void runJsonExporter(Path jsonFile, Path outputDir, List<String> selectedFormats, List<String> activeProfiles, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
JsonImportService jsonImportService = new JsonImportService();
|
JsonImportService jsonImportService = new JsonImportService();
|
||||||
AnalysisResult result = jsonImportService.importAnalysisResult(jsonFile);
|
AnalysisResult result = jsonImportService.importAnalysisResult(jsonFile);
|
||||||
|
|
||||||
// Apply property resolution pass if placeholders exist
|
// Apply property resolution pass if placeholders exist
|
||||||
resolveProperties(result, activeProfiles);
|
resolveProperties(result, activeProfiles);
|
||||||
|
|
||||||
generateOutputs(outputDir, result, selectedFormats);
|
generateOutputs(outputDir, result, selectedFormats, eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void resolveProperties(AnalysisResult result, List<String> activeProfiles) {
|
private void resolveProperties(AnalysisResult result, List<String> activeProfiles) {
|
||||||
@@ -154,7 +166,7 @@ public class ExportService {
|
|||||||
result.applyResolution(merged);
|
result.applyResolution(merged);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void exportAll(CodebaseContext context, CodebaseIntelligenceProvider intelligence, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<BusinessFlow> flows, String machineFilter, List<String> activeProfiles) throws IOException {
|
private void exportAll(CodebaseContext context, CodebaseIntelligenceProvider intelligence, Path outputDir, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<BusinessFlow> flows, String machineFilter, List<String> activeProfiles, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
Set<String> processedLocations = new HashSet<>();
|
Set<String> processedLocations = new HashSet<>();
|
||||||
|
|
||||||
// 1. Find entry point classes (annotated or extending adapter)
|
// 1. Find entry point classes (annotated or extending adapter)
|
||||||
@@ -163,7 +175,7 @@ public class ExportService {
|
|||||||
String fqn = context.getFqn(td);
|
String fqn = context.getFqn(td);
|
||||||
if (machineFilter != null && !fqn.contains(machineFilter)) continue;
|
if (machineFilter != null && !fqn.contains(machineFilter)) continue;
|
||||||
if (processedLocations.add(fqn)) {
|
if (processedLocations.add(fqn)) {
|
||||||
processEntryPoint(td, outputDir, context, intelligence, selectedFormats, renderChoicesAsDiamonds, flows, activeProfiles);
|
processEntryPoint(td, outputDir, context, intelligence, selectedFormats, renderChoicesAsDiamonds, flows, activeProfiles, eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,12 +189,12 @@ public class ExportService {
|
|||||||
|
|
||||||
if (machineFilter != null && !uniqueId.contains(machineFilter)) continue;
|
if (machineFilter != null && !uniqueId.contains(machineFilter)) continue;
|
||||||
if (processedLocations.add(uniqueId)) {
|
if (processedLocations.add(uniqueId)) {
|
||||||
processBeanMethod(m, outputDir, context, intelligence, selectedFormats, renderChoicesAsDiamonds, flows, activeProfiles);
|
processBeanMethod(m, outputDir, context, intelligence, selectedFormats, renderChoicesAsDiamonds, flows, activeProfiles, eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processEntryPoint(TypeDeclaration td, Path outputDir, CodebaseContext context, CodebaseIntelligenceProvider intelligence, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<BusinessFlow> flows, List<String> activeProfiles) throws IOException {
|
private void processEntryPoint(TypeDeclaration td, Path outputDir, CodebaseContext context, CodebaseIntelligenceProvider intelligence, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<BusinessFlow> flows, List<String> activeProfiles, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
String className = context.getFqn(td);
|
String className = context.getFqn(td);
|
||||||
log.info("Processing state machine config: {}", className);
|
log.info("Processing state machine config: {}", className);
|
||||||
|
|
||||||
@@ -214,10 +226,10 @@ public class ExportService {
|
|||||||
|
|
||||||
resolveProperties(result, activeProfiles);
|
resolveProperties(result, activeProfiles);
|
||||||
|
|
||||||
generateOutputs(outputDir, result, selectedFormats);
|
generateOutputs(outputDir, result, selectedFormats, eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processBeanMethod(MethodDeclaration m, Path outputDir, CodebaseContext context, CodebaseIntelligenceProvider intelligence, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<BusinessFlow> flows, List<String> activeProfiles) throws IOException {
|
private void processBeanMethod(MethodDeclaration m, Path outputDir, CodebaseContext context, CodebaseIntelligenceProvider intelligence, List<String> selectedFormats, boolean renderChoicesAsDiamonds, List<BusinessFlow> flows, List<String> activeProfiles, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
TypeDeclaration parentClass = (TypeDeclaration) m.getParent();
|
TypeDeclaration parentClass = (TypeDeclaration) m.getParent();
|
||||||
String parentFqn = context.getFqn(parentClass);
|
String parentFqn = context.getFqn(parentClass);
|
||||||
String methodName = m.getName().getIdentifier();
|
String methodName = m.getName().getIdentifier();
|
||||||
@@ -245,10 +257,10 @@ public class ExportService {
|
|||||||
|
|
||||||
resolveProperties(result, activeProfiles);
|
resolveProperties(result, activeProfiles);
|
||||||
|
|
||||||
generateOutputs(outputDir, result, selectedFormats);
|
generateOutputs(outputDir, result, selectedFormats, eventFormat, stateFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void generateOutputs(Path outputDir, AnalysisResult result, List<String> selectedFormats) throws IOException {
|
private void generateOutputs(Path outputDir, AnalysisResult result, List<String> selectedFormats, click.kamil.springstatemachineexporter.exporter.EnumFormat eventFormat, click.kamil.springstatemachineexporter.exporter.EnumFormat stateFormat) throws IOException {
|
||||||
if (selectedFormats == null || selectedFormats.isEmpty()) {
|
if (selectedFormats == null || selectedFormats.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -259,6 +271,8 @@ public class ExportService {
|
|||||||
|
|
||||||
ExportOptions options = ExportOptions.builder()
|
ExportOptions options = ExportOptions.builder()
|
||||||
.renderChoicesAsDiamonds(result.isRenderChoicesAsDiamonds())
|
.renderChoicesAsDiamonds(result.isRenderChoicesAsDiamonds())
|
||||||
|
.eventFormat(eventFormat)
|
||||||
|
.stateFormat(stateFormat)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
for (StateMachineExporter exporter : exporters) {
|
for (StateMachineExporter exporter : exporters) {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class GoldenUpdater {
|
|||||||
System.out.println("Updating golden files for: " + scenario.name());
|
System.out.println("Updating golden files for: " + scenario.name());
|
||||||
Path tempDir = Files.createTempDirectory("golden-update-");
|
Path tempDir = Files.createTempDirectory("golden-update-");
|
||||||
try {
|
try {
|
||||||
exportService.runExporter(scenario.inputPath(), tempDir, null, true);
|
exportService.runExporter(scenario.inputPath(), tempDir, List.of("puml", "dot", "scxml", "json"), true);
|
||||||
|
|
||||||
List<Path> generatedDirs;
|
List<Path> generatedDirs;
|
||||||
try (var stream = Files.list(tempDir)) {
|
try (var stream = Files.list(tempDir)) {
|
||||||
|
|||||||
@@ -47,9 +47,7 @@ class AstTransitionParserTest {
|
|||||||
.isEqualTo(TransitionType.EXTERNAL);
|
.isEqualTo(TransitionType.EXTERNAL);
|
||||||
assertThat(transition.getSourceStates()).extracting(State::toString).containsExactly("CREATED");
|
assertThat(transition.getSourceStates()).extracting(State::toString).containsExactly("CREATED");
|
||||||
assertThat(transition.getTargetStates()).extracting(State::toString).containsExactly("PAID");
|
assertThat(transition.getTargetStates()).extracting(State::toString).containsExactly("PAID");
|
||||||
assertThat(transition)
|
assertThat(transition.getEvent().toString()).isEqualTo("PAY");
|
||||||
.extracting(Transition::getEvent)
|
|
||||||
.isEqualTo("PAY");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -211,8 +209,8 @@ class AstTransitionParserTest {
|
|||||||
List<Transition> transitions = AstTransitionParser.parseTransitions(method, context);
|
List<Transition> transitions = AstTransitionParser.parseTransitions(method, context);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(2);
|
assertThat(transitions).hasSize(2);
|
||||||
assertThat(transitions.get(0).getEvent()).isEqualTo("E1");
|
assertThat(transitions.get(0).getEvent().toString()).isEqualTo("E1");
|
||||||
assertThat(transitions.get(1).getEvent()).isEqualTo("E2");
|
assertThat(transitions.get(1).getEvent().toString()).isEqualTo("E2");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@@ -58,8 +58,8 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(childTd);
|
List<Transition> transitions = aggregator.aggregateTransitions(childTd);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(2);
|
assertThat(transitions).hasSize(2);
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("BASE_E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("BASE_E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("CHILD_E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("CHILD_E1"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -93,7 +93,7 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(childTd);
|
List<Transition> transitions = aggregator.aggregateTransitions(childTd);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(1);
|
assertThat(transitions).hasSize(1);
|
||||||
assertThat(transitions.get(0).getEvent()).isEqualTo("OVERRIDDEN_E1");
|
assertThat(transitions.get(0).getEvent().toString()).isEqualTo("OVERRIDDEN_E1");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -119,7 +119,7 @@ class StateMachineAggregatorTest {
|
|||||||
assertThat(transitions).hasSize(1);
|
assertThat(transitions).hasSize(1);
|
||||||
assertThat(transitions.get(0).getSourceStates()).extracting(State::toString).containsExactly("START");
|
assertThat(transitions.get(0).getSourceStates()).extracting(State::toString).containsExactly("START");
|
||||||
assertThat(transitions.get(0).getTargetStates()).extracting(State::toString).containsExactly("END");
|
assertThat(transitions.get(0).getTargetStates()).extracting(State::toString).containsExactly("END");
|
||||||
assertThat(transitions.get(0).getEvent()).isEqualTo("GO");
|
assertThat(transitions.get(0).getEvent().toString()).isEqualTo("GO");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -143,8 +143,8 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(2);
|
assertThat(transitions).hasSize(2);
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E2"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E2"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -241,9 +241,9 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(childTd);
|
List<Transition> transitions = aggregator.aggregateTransitions(childTd);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(3);
|
assertThat(transitions).hasSize(3);
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("GP_E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("GP_E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("P_E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("P_E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("C_E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("C_E1"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -267,8 +267,8 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(2);
|
assertThat(transitions).hasSize(2);
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E2"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E2"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -381,7 +381,7 @@ class StateMachineAggregatorTest {
|
|||||||
// It might not find ExternalTransitions.addCommon unless it's static or we handle imports.
|
// It might not find ExternalTransitions.addCommon unless it's static or we handle imports.
|
||||||
// Let's see if it works or if we need to improve the aggregator.
|
// Let's see if it works or if we need to improve the aggregator.
|
||||||
assertThat(transitions).hasSize(1);
|
assertThat(transitions).hasSize(1);
|
||||||
assertThat(transitions.get(0).getEvent()).isEqualTo("EXT_E1");
|
assertThat(transitions.get(0).getEvent().toString()).isEqualTo("EXT_E1");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -408,8 +408,8 @@ class StateMachineAggregatorTest {
|
|||||||
|
|
||||||
// Should not crash and should find both transitions
|
// Should not crash and should find both transitions
|
||||||
assertThat(transitions).hasSize(2);
|
assertThat(transitions).hasSize(2);
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E2"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E2"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -434,7 +434,7 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(1);
|
assertThat(transitions).hasSize(1);
|
||||||
assertThat(transitions.get(0).getEvent()).isEqualTo("TRY_E1");
|
assertThat(transitions.get(0).getEvent().toString()).isEqualTo("TRY_E1");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -536,8 +536,8 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(2);
|
assertThat(transitions).hasSize(2);
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E1"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E1"));
|
||||||
assertThat(transitions).anyMatch(t -> t.getEvent().equals("E2"));
|
assertThat(transitions).anyMatch(t -> t.getEvent().toString().equals("E2"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -585,7 +585,7 @@ class StateMachineAggregatorTest {
|
|||||||
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
List<Transition> transitions = aggregator.aggregateTransitions(td);
|
||||||
|
|
||||||
assertThat(transitions).hasSize(1);
|
assertThat(transitions).hasSize(1);
|
||||||
assertThat(transitions.get(0).getEvent()).isEqualTo("E1");
|
assertThat(transitions.get(0).getEvent().toString()).isEqualTo("E1");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void writeClass(String name, String source) throws IOException {
|
private void writeClass(String name, String source) throws IOException {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class JsonExporterTest {
|
|||||||
transition.setType(TransitionType.EXTERNAL);
|
transition.setType(TransitionType.EXTERNAL);
|
||||||
transition.setSourceStates(List.of(State.of("S1")));
|
transition.setSourceStates(List.of(State.of("S1")));
|
||||||
transition.setTargetStates(List.of(State.of("S2")));
|
transition.setTargetStates(List.of(State.of("S2")));
|
||||||
transition.setEvent("E1");
|
transition.setEvent(click.kamil.springstatemachineexporter.model.Event.of("E1"));
|
||||||
|
|
||||||
AnalysisResult result = AnalysisResult.builder()
|
AnalysisResult result = AnalysisResult.builder()
|
||||||
.name("TestSM")
|
.name("TestSM")
|
||||||
@@ -33,7 +33,7 @@ class JsonExporterTest {
|
|||||||
|
|
||||||
assertThat(json)
|
assertThat(json)
|
||||||
.contains("\"name\" : \"TestSM\"")
|
.contains("\"name\" : \"TestSM\"")
|
||||||
.contains("\"event\" : \"E1\"")
|
.contains("\"rawName\" : \"E1\"")
|
||||||
.contains("\"rawName\" : \"S1\"")
|
.contains("\"rawName\" : \"S1\"")
|
||||||
.contains("\"rawName\" : \"S2\"");
|
.contains("\"rawName\" : \"S2\"");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
package click.kamil.springstatemachineexporter.exporter;
|
||||||
|
|
||||||
|
import click.kamil.springstatemachineexporter.analysis.model.AnalysisResult;
|
||||||
|
import click.kamil.springstatemachineexporter.model.Event;
|
||||||
|
import click.kamil.springstatemachineexporter.model.State;
|
||||||
|
import click.kamil.springstatemachineexporter.model.Transition;
|
||||||
|
import click.kamil.springstatemachineexporter.model.TransitionType;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
|
|
||||||
|
class PlantUmlTest {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void shouldFormatTransitionsWithDifferentEnumFormats() {
|
||||||
|
// Given
|
||||||
|
PlantUml exporter = new PlantUml();
|
||||||
|
Transition transition = new Transition();
|
||||||
|
transition.setType(TransitionType.EXTERNAL);
|
||||||
|
transition.setSourceStates(List.of(State.of("States.S1", "com.example.States.S1")));
|
||||||
|
transition.setTargetStates(List.of(State.of("States.S2", "com.example.States.S2")));
|
||||||
|
transition.setEvent(Event.of("Events.E1", "com.example.Events.E1"));
|
||||||
|
|
||||||
|
AnalysisResult result = AnalysisResult.builder()
|
||||||
|
.name("TestSM")
|
||||||
|
.transitions(List.of(transition))
|
||||||
|
.startStates(Set.of("States.S1"))
|
||||||
|
.endStates(Set.of("States.S2"))
|
||||||
|
.build();
|
||||||
|
|
||||||
|
// Test FN (Full Name - Default)
|
||||||
|
ExportOptions optionsFn = ExportOptions.builder()
|
||||||
|
.stateFormat(EnumFormat.fn)
|
||||||
|
.eventFormat(EnumFormat.fn)
|
||||||
|
.build();
|
||||||
|
String pumlFn = exporter.export(result, optionsFn);
|
||||||
|
assertThat(pumlFn)
|
||||||
|
.contains("States.S1 -[#")
|
||||||
|
.contains("]-> States.S2")
|
||||||
|
.contains(" : Events.E1");
|
||||||
|
|
||||||
|
// Test FQN (Fully Qualified Name)
|
||||||
|
ExportOptions optionsFqn = ExportOptions.builder()
|
||||||
|
.stateFormat(EnumFormat.fqn)
|
||||||
|
.eventFormat(EnumFormat.fqn)
|
||||||
|
.build();
|
||||||
|
String pumlFqn = exporter.export(result, optionsFqn);
|
||||||
|
assertThat(pumlFqn)
|
||||||
|
.contains("com.example.States.S1 -[#")
|
||||||
|
.contains("]-> com.example.States.S2")
|
||||||
|
.contains(" : com.example.Events.E1");
|
||||||
|
|
||||||
|
// Test SN (Short Name)
|
||||||
|
ExportOptions optionsSn = ExportOptions.builder()
|
||||||
|
.stateFormat(EnumFormat.sn)
|
||||||
|
.eventFormat(EnumFormat.sn)
|
||||||
|
.build();
|
||||||
|
String pumlSn = exporter.export(result, optionsSn);
|
||||||
|
assertThat(pumlSn)
|
||||||
|
.contains("S1 -[#")
|
||||||
|
.contains("]-> S2")
|
||||||
|
.contains(" : E1");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -27,7 +27,7 @@ public class DeferredProfileResolutionTest {
|
|||||||
assertThat(result.getStartStates()).containsExactly("START_RESOLVED");
|
assertThat(result.getStartStates()).containsExactly("START_RESOLVED");
|
||||||
|
|
||||||
Transition t = result.getTransitions().get(0);
|
Transition t = result.getTransitions().get(0);
|
||||||
assertThat(t.getEvent()).isEqualTo("RESOLVED_EVENT");
|
assertThat(t.getEvent().fullIdentifier()).isEqualTo("RESOLVED_EVENT");
|
||||||
assertThat(t.getSourceStates().get(0).fullIdentifier()).isEqualTo("START_RESOLVED");
|
assertThat(t.getSourceStates().get(0).fullIdentifier()).isEqualTo("START_RESOLVED");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ public class DeferredProfileResolutionTest {
|
|||||||
State s2 = State.of("END", "END");
|
State s2 = State.of("END", "END");
|
||||||
|
|
||||||
Transition t1 = new Transition();
|
Transition t1 = new Transition();
|
||||||
t1.setEvent("${app.event.name:RESOLVED_EVENT}");
|
t1.setEvent(click.kamil.springstatemachineexporter.model.Event.of("${app.event.name:RESOLVED_EVENT}"));
|
||||||
t1.setSourceStates(List.of(s1));
|
t1.setSourceStates(List.of(s1));
|
||||||
t1.setTargetStates(List.of(s2));
|
t1.setTargetStates(List.of(s2));
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class JsonImportServiceTest {
|
|||||||
"type" : "EXTERNAL",
|
"type" : "EXTERNAL",
|
||||||
"sourceStates" : [ { "rawName" : "S1", "fullIdentifier" : "S1" } ],
|
"sourceStates" : [ { "rawName" : "S1", "fullIdentifier" : "S1" } ],
|
||||||
"targetStates" : [ { "rawName" : "S2", "fullIdentifier" : "S2" } ],
|
"targetStates" : [ { "rawName" : "S2", "fullIdentifier" : "S2" } ],
|
||||||
"event" : "E1"
|
"event" : { "rawName" : "E1", "fullIdentifier" : "E1" }
|
||||||
} ],
|
} ],
|
||||||
"startStates" : [ "S1" ],
|
"startStates" : [ "S1" ],
|
||||||
"endStates" : [ "S2" ]
|
"endStates" : [ "S2" ]
|
||||||
@@ -36,7 +36,7 @@ class JsonImportServiceTest {
|
|||||||
|
|
||||||
assertThat(model.getName()).isEqualTo("ImportedSM");
|
assertThat(model.getName()).isEqualTo("ImportedSM");
|
||||||
assertThat(model.getTransitions()).hasSize(1);
|
assertThat(model.getTransitions()).hasSize(1);
|
||||||
assertThat(model.getTransitions().get(0).getEvent()).isEqualTo("E1");
|
assertThat(model.getTransitions().get(0).getEvent().rawName()).isEqualTo("E1");
|
||||||
assertThat(model.getStartStates()).containsExactly("S1");
|
assertThat(model.getStartStates()).containsExactly("S1");
|
||||||
assertThat(model.getEndStates()).containsExactly("S2");
|
assertThat(model.getEndStates()).containsExactly("S2");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.STATE11",
|
"rawName" : "States.STATE11",
|
||||||
"fullIdentifier" : "States.STATE11"
|
"fullIdentifier" : "States.STATE11"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT10",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT10",
|
||||||
|
"fullIdentifier" : "Events.EVENT10"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.STATE12",
|
"rawName" : "States.STATE12",
|
||||||
"fullIdentifier" : "States.STATE12"
|
"fullIdentifier" : "States.STATE12"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT11",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT11",
|
||||||
|
"fullIdentifier" : "Events.EVENT11"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.STATE13",
|
"rawName" : "States.STATE13",
|
||||||
"fullIdentifier" : "States.STATE13"
|
"fullIdentifier" : "States.STATE13"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT12",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT12",
|
||||||
|
"fullIdentifier" : "Events.EVENT12"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.STATE14",
|
"rawName" : "States.STATE14",
|
||||||
"fullIdentifier" : "States.STATE14"
|
"fullIdentifier" : "States.STATE14"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT13",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT13",
|
||||||
|
"fullIdentifier" : "Events.EVENT13"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.STATE15",
|
"rawName" : "States.STATE15",
|
||||||
"fullIdentifier" : "States.STATE15"
|
"fullIdentifier" : "States.STATE15"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT14",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT14",
|
||||||
|
"fullIdentifier" : "Events.EVENT14"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATE16",
|
"rawName" : "States.STATE16",
|
||||||
"fullIdentifier" : "States.STATE16"
|
"fullIdentifier" : "States.STATE16"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT15",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT15",
|
||||||
|
"fullIdentifier" : "Events.EVENT15"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -328,7 +328,10 @@
|
|||||||
"rawName" : "\"CHECK_AVAILABILITY\"",
|
"rawName" : "\"CHECK_AVAILABILITY\"",
|
||||||
"fullIdentifier" : "CHECK_AVAILABILITY"
|
"fullIdentifier" : "CHECK_AVAILABILITY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "PLACE_ORDER",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.PLACE",
|
||||||
|
"fullIdentifier" : "PLACE_ORDER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -377,7 +380,10 @@
|
|||||||
"rawName" : "\"PAID\"",
|
"rawName" : "\"PAID\"",
|
||||||
"fullIdentifier" : "PAID"
|
"fullIdentifier" : "PAID"
|
||||||
} ],
|
} ],
|
||||||
"event" : "PAY_ORDER",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.PAY",
|
||||||
|
"fullIdentifier" : "PAY_ORDER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -391,7 +397,10 @@
|
|||||||
"rawName" : "\"SHIPPED\"",
|
"rawName" : "\"SHIPPED\"",
|
||||||
"fullIdentifier" : "SHIPPED"
|
"fullIdentifier" : "SHIPPED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "SHIP_ORDER",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.SHIP",
|
||||||
|
"fullIdentifier" : "SHIP_ORDER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -405,7 +414,10 @@
|
|||||||
"rawName" : "\"DELIVERED\"",
|
"rawName" : "\"DELIVERED\"",
|
||||||
"fullIdentifier" : "DELIVERED"
|
"fullIdentifier" : "DELIVERED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "FINALIZE",
|
"event" : {
|
||||||
|
"rawName" : "\"FINALIZE\"",
|
||||||
|
"fullIdentifier" : "FINALIZE"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -419,7 +431,10 @@
|
|||||||
"rawName" : "\"CANCELLED\"",
|
"rawName" : "\"CANCELLED\"",
|
||||||
"fullIdentifier" : "CANCELLED"
|
"fullIdentifier" : "CANCELLED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "CANCEL_ORDER",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "CANCEL_ORDER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -433,7 +448,10 @@
|
|||||||
"rawName" : "\"RETURNED\"",
|
"rawName" : "\"RETURNED\"",
|
||||||
"fullIdentifier" : "RETURNED"
|
"fullIdentifier" : "RETURNED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "RETURN_ORDER",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.RETURN",
|
||||||
|
"fullIdentifier" : "RETURN_ORDER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -322,7 +322,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "SUBMIT_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "MyEvents.SUBMIT",
|
||||||
|
"fullIdentifier" : "SUBMIT_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -336,7 +339,10 @@
|
|||||||
"rawName" : "\"COMPLETED\"",
|
"rawName" : "\"COMPLETED\"",
|
||||||
"fullIdentifier" : "COMPLETED"
|
"fullIdentifier" : "COMPLETED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "FINISH",
|
"event" : {
|
||||||
|
"rawName" : "\"FINISH\"",
|
||||||
|
"fullIdentifier" : "FINISH"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -350,7 +356,10 @@
|
|||||||
"rawName" : "\"CANCELLED\"",
|
"rawName" : "\"CANCELLED\"",
|
||||||
"fullIdentifier" : "CANCELLED"
|
"fullIdentifier" : "CANCELLED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "CANCEL_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "MyEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "CANCEL_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -364,7 +373,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "REACTIVE_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "\"REACTIVE_EVENT\"",
|
||||||
|
"fullIdentifier" : "REACTIVE_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -378,7 +390,10 @@
|
|||||||
"rawName" : "\"START\"",
|
"rawName" : "\"START\"",
|
||||||
"fullIdentifier" : "START"
|
"fullIdentifier" : "START"
|
||||||
} ],
|
} ],
|
||||||
"event" : "AUDIT_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "\"AUDIT_EVENT\"",
|
||||||
|
"fullIdentifier" : "AUDIT_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -392,7 +407,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "EXTERNAL_TRIGGER",
|
"event" : {
|
||||||
|
"rawName" : "\"EXTERNAL_TRIGGER\"",
|
||||||
|
"fullIdentifier" : "EXTERNAL_TRIGGER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -322,7 +322,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "SUBMIT_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "MyEvents.SUBMIT",
|
||||||
|
"fullIdentifier" : "SUBMIT_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -336,7 +339,10 @@
|
|||||||
"rawName" : "\"COMPLETED\"",
|
"rawName" : "\"COMPLETED\"",
|
||||||
"fullIdentifier" : "COMPLETED"
|
"fullIdentifier" : "COMPLETED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "FINISH",
|
"event" : {
|
||||||
|
"rawName" : "\"FINISH\"",
|
||||||
|
"fullIdentifier" : "FINISH"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -350,7 +356,10 @@
|
|||||||
"rawName" : "\"CANCELLED\"",
|
"rawName" : "\"CANCELLED\"",
|
||||||
"fullIdentifier" : "CANCELLED"
|
"fullIdentifier" : "CANCELLED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "CANCEL_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "MyEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "CANCEL_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -364,7 +373,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "REACTIVE_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "\"REACTIVE_EVENT\"",
|
||||||
|
"fullIdentifier" : "REACTIVE_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -378,7 +390,10 @@
|
|||||||
"rawName" : "\"START\"",
|
"rawName" : "\"START\"",
|
||||||
"fullIdentifier" : "START"
|
"fullIdentifier" : "START"
|
||||||
} ],
|
} ],
|
||||||
"event" : "AUDIT_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "\"AUDIT_EVENT\"",
|
||||||
|
"fullIdentifier" : "AUDIT_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -392,7 +407,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "EXTERNAL_TRIGGER",
|
"event" : {
|
||||||
|
"rawName" : "\"EXTERNAL_TRIGGER\"",
|
||||||
|
"fullIdentifier" : "EXTERNAL_TRIGGER"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.STATE11",
|
"rawName" : "States.STATE11",
|
||||||
"fullIdentifier" : "States.STATE11"
|
"fullIdentifier" : "States.STATE11"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT10",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT10",
|
||||||
|
"fullIdentifier" : "Events.EVENT10"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.STATE12",
|
"rawName" : "States.STATE12",
|
||||||
"fullIdentifier" : "States.STATE12"
|
"fullIdentifier" : "States.STATE12"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT11",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT11",
|
||||||
|
"fullIdentifier" : "Events.EVENT11"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.STATE13",
|
"rawName" : "States.STATE13",
|
||||||
"fullIdentifier" : "States.STATE13"
|
"fullIdentifier" : "States.STATE13"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT12",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT12",
|
||||||
|
"fullIdentifier" : "Events.EVENT12"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.STATE14",
|
"rawName" : "States.STATE14",
|
||||||
"fullIdentifier" : "States.STATE14"
|
"fullIdentifier" : "States.STATE14"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT13",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT13",
|
||||||
|
"fullIdentifier" : "Events.EVENT13"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.STATE15",
|
"rawName" : "States.STATE15",
|
||||||
"fullIdentifier" : "States.STATE15"
|
"fullIdentifier" : "States.STATE15"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT14",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT14",
|
||||||
|
"fullIdentifier" : "Events.EVENT14"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATE16",
|
"rawName" : "States.STATE16",
|
||||||
"fullIdentifier" : "States.STATE16"
|
"fullIdentifier" : "States.STATE16"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT15",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT15",
|
||||||
|
"fullIdentifier" : "Events.EVENT15"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -232,7 +277,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -246,7 +294,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -260,7 +311,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -274,7 +328,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -288,7 +345,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -302,7 +362,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -764,7 +827,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1",
|
"rawName" : "States.STATE_EXTRA_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTX",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTX",
|
||||||
|
"fullIdentifier" : "Events.EVENTX"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -813,7 +879,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_3",
|
"rawName" : "States.STATE_EXTRA_3",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_3"
|
"fullIdentifier" : "States.STATE_EXTRA_3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -827,7 +896,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -841,7 +913,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.STATE11",
|
"rawName" : "States.STATE11",
|
||||||
"fullIdentifier" : "States.STATE11"
|
"fullIdentifier" : "States.STATE11"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT10",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT10",
|
||||||
|
"fullIdentifier" : "Events.EVENT10"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.STATE12",
|
"rawName" : "States.STATE12",
|
||||||
"fullIdentifier" : "States.STATE12"
|
"fullIdentifier" : "States.STATE12"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT11",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT11",
|
||||||
|
"fullIdentifier" : "Events.EVENT11"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.STATE13",
|
"rawName" : "States.STATE13",
|
||||||
"fullIdentifier" : "States.STATE13"
|
"fullIdentifier" : "States.STATE13"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT12",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT12",
|
||||||
|
"fullIdentifier" : "Events.EVENT12"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.STATE14",
|
"rawName" : "States.STATE14",
|
||||||
"fullIdentifier" : "States.STATE14"
|
"fullIdentifier" : "States.STATE14"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT13",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT13",
|
||||||
|
"fullIdentifier" : "Events.EVENT13"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.STATE15",
|
"rawName" : "States.STATE15",
|
||||||
"fullIdentifier" : "States.STATE15"
|
"fullIdentifier" : "States.STATE15"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT14",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT14",
|
||||||
|
"fullIdentifier" : "Events.EVENT14"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATE16",
|
"rawName" : "States.STATE16",
|
||||||
"fullIdentifier" : "States.STATE16"
|
"fullIdentifier" : "States.STATE16"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT15",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT15",
|
||||||
|
"fullIdentifier" : "Events.EVENT15"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -232,7 +277,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -246,7 +294,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -260,7 +311,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -274,7 +328,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -288,7 +345,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -302,7 +362,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -764,7 +827,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1_1",
|
"rawName" : "States.STATE_EXTRA_1_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_1_1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_1_1",
|
||||||
|
"fullIdentifier" : "Events.EVENT_1_1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -813,7 +879,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1",
|
"rawName" : "States.STATE_EXTRA_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_1_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_1_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_1_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -827,7 +896,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -841,7 +913,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -855,7 +930,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.FORK",
|
"rawName" : "States.FORK",
|
||||||
"fullIdentifier" : "States.FORK"
|
"fullIdentifier" : "States.FORK"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.TO_FORK",
|
"event" : {
|
||||||
|
"rawName" : "Events.TO_FORK",
|
||||||
|
"fullIdentifier" : "Events.TO_FORK"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -53,7 +56,10 @@
|
|||||||
"rawName" : "States.REGION1_STATE2",
|
"rawName" : "States.REGION1_STATE2",
|
||||||
"fullIdentifier" : "States.REGION1_STATE2"
|
"fullIdentifier" : "States.REGION1_STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.R1_NEXT",
|
"event" : {
|
||||||
|
"rawName" : "Events.R1_NEXT",
|
||||||
|
"fullIdentifier" : "Events.R1_NEXT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -67,7 +73,10 @@
|
|||||||
"rawName" : "States.REGION2_STATE2",
|
"rawName" : "States.REGION2_STATE2",
|
||||||
"fullIdentifier" : "States.REGION2_STATE2"
|
"fullIdentifier" : "States.REGION2_STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.R2_NEXT",
|
"event" : {
|
||||||
|
"rawName" : "Events.R2_NEXT",
|
||||||
|
"fullIdentifier" : "Events.R2_NEXT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -98,7 +107,10 @@
|
|||||||
"rawName" : "States.END",
|
"rawName" : "States.END",
|
||||||
"fullIdentifier" : "States.END"
|
"fullIdentifier" : "States.END"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.TO_END",
|
"event" : {
|
||||||
|
"rawName" : "Events.TO_END",
|
||||||
|
"fullIdentifier" : "Events.TO_END"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -358,7 +403,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_2",
|
"rawName" : "States.STATE_EXTRA_2",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_2"
|
"fullIdentifier" : "States.STATE_EXTRA_2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_1_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_1_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_1_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -372,7 +420,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_3",
|
"rawName" : "States.STATE_EXTRA_3",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_3"
|
"fullIdentifier" : "States.STATE_EXTRA_3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_1_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_1_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_1_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -386,7 +437,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -358,7 +403,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1",
|
"rawName" : "States.STATE_EXTRA_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_1_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_1_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_1_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -372,7 +420,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_2",
|
"rawName" : "States.STATE_EXTRA_2",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_2"
|
"fullIdentifier" : "States.STATE_EXTRA_2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_1_3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_1_3",
|
||||||
|
"fullIdentifier" : "Events.EVENT_1_3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -386,7 +437,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -400,7 +454,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -73,7 +73,10 @@
|
|||||||
"rawName" : "\"WORKING\"",
|
"rawName" : "\"WORKING\"",
|
||||||
"fullIdentifier" : "WORKING"
|
"fullIdentifier" : "WORKING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "INHERITED_SUBMIT",
|
"event" : {
|
||||||
|
"rawName" : "\"INHERITED_SUBMIT\"",
|
||||||
|
"fullIdentifier" : "INHERITED_SUBMIT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "OrderStates.PAID",
|
"rawName" : "OrderStates.PAID",
|
||||||
"fullIdentifier" : "OrderStates.PAID"
|
"fullIdentifier" : "OrderStates.PAID"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.PAY",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.PAY",
|
||||||
|
"fullIdentifier" : "OrderEvents.PAY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "OrderStates.FULFILLED",
|
"rawName" : "OrderStates.FULFILLED",
|
||||||
"fullIdentifier" : "OrderStates.FULFILLED"
|
"fullIdentifier" : "OrderStates.FULFILLED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.FULFILL",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.FULFILL",
|
||||||
|
"fullIdentifier" : "OrderEvents.FULFILL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "OrderStates.CANCELED",
|
"rawName" : "OrderStates.CANCELED",
|
||||||
"fullIdentifier" : "OrderStates.CANCELED"
|
"fullIdentifier" : "OrderStates.CANCELED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "OrderEvents.CANCEL"
|
||||||
|
},
|
||||||
"guard" : {
|
"guard" : {
|
||||||
"expression" : "new Guard<OrderStates,OrderEvents>(){\n @Override public boolean evaluate( StateContext<OrderStates,OrderEvents> context){\n return false;\n }\n}\n",
|
"expression" : "new Guard<OrderStates,OrderEvents>(){\n @Override public boolean evaluate( StateContext<OrderStates,OrderEvents> context){\n return false;\n }\n}\n",
|
||||||
"isLambda" : true,
|
"isLambda" : true,
|
||||||
@@ -71,7 +80,10 @@
|
|||||||
"rawName" : "OrderStates.CANCELED",
|
"rawName" : "OrderStates.CANCELED",
|
||||||
"fullIdentifier" : "OrderStates.CANCELED"
|
"fullIdentifier" : "OrderStates.CANCELED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "OrderEvents.CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -82,7 +94,10 @@
|
|||||||
"fullIdentifier" : "OrderStates.SUBMITTED"
|
"fullIdentifier" : "OrderStates.SUBMITTED"
|
||||||
} ],
|
} ],
|
||||||
"targetStates" : [ ],
|
"targetStates" : [ ],
|
||||||
"event" : "OrderEvents.ABCD",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.ABCD",
|
||||||
|
"fullIdentifier" : "OrderEvents.ABCD"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -96,7 +111,10 @@
|
|||||||
"rawName" : "OrderStates.PAID1",
|
"rawName" : "OrderStates.PAID1",
|
||||||
"fullIdentifier" : "OrderStates.PAID1"
|
"fullIdentifier" : "OrderStates.PAID1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.ABCD",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.ABCD",
|
||||||
|
"fullIdentifier" : "OrderEvents.ABCD"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -212,7 +230,10 @@
|
|||||||
"fullIdentifier" : "OrderStates.PAID2"
|
"fullIdentifier" : "OrderStates.PAID2"
|
||||||
} ],
|
} ],
|
||||||
"targetStates" : [ ],
|
"targetStates" : [ ],
|
||||||
"event" : "OrderEvents.ABCD",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.ABCD",
|
||||||
|
"fullIdentifier" : "OrderEvents.ABCD"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ {
|
"actions" : [ {
|
||||||
"expression" : "new Action<OrderStates,OrderEvents>(){\n @Override public void execute( StateContext<OrderStates,OrderEvents> context){\n }\n}\n",
|
"expression" : "new Action<OrderStates,OrderEvents>(){\n @Override public void execute( StateContext<OrderStates,OrderEvents> context){\n }\n}\n",
|
||||||
|
|||||||
@@ -120,7 +120,10 @@
|
|||||||
"rawName" : "\"BUSY\"",
|
"rawName" : "\"BUSY\"",
|
||||||
"fullIdentifier" : "BUSY"
|
"fullIdentifier" : "BUSY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "SUBMIT",
|
"event" : {
|
||||||
|
"rawName" : "\"SUBMIT\"",
|
||||||
|
"fullIdentifier" : "SUBMIT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ {
|
"actions" : [ {
|
||||||
"expression" : "loggingAction()",
|
"expression" : "loggingAction()",
|
||||||
@@ -141,7 +144,10 @@
|
|||||||
"rawName" : "\"DONE\"",
|
"rawName" : "\"DONE\"",
|
||||||
"fullIdentifier" : "DONE"
|
"fullIdentifier" : "DONE"
|
||||||
} ],
|
} ],
|
||||||
"event" : "ORDER_EVENT",
|
"event" : {
|
||||||
|
"rawName" : "\"ORDER_EVENT\"",
|
||||||
|
"fullIdentifier" : "ORDER_EVENT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.STATE11",
|
"rawName" : "States.STATE11",
|
||||||
"fullIdentifier" : "States.STATE11"
|
"fullIdentifier" : "States.STATE11"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT10",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT10",
|
||||||
|
"fullIdentifier" : "Events.EVENT10"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.STATE12",
|
"rawName" : "States.STATE12",
|
||||||
"fullIdentifier" : "States.STATE12"
|
"fullIdentifier" : "States.STATE12"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT11",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT11",
|
||||||
|
"fullIdentifier" : "Events.EVENT11"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.STATE13",
|
"rawName" : "States.STATE13",
|
||||||
"fullIdentifier" : "States.STATE13"
|
"fullIdentifier" : "States.STATE13"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT12",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT12",
|
||||||
|
"fullIdentifier" : "Events.EVENT12"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.STATE14",
|
"rawName" : "States.STATE14",
|
||||||
"fullIdentifier" : "States.STATE14"
|
"fullIdentifier" : "States.STATE14"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT13",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT13",
|
||||||
|
"fullIdentifier" : "Events.EVENT13"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.STATE15",
|
"rawName" : "States.STATE15",
|
||||||
"fullIdentifier" : "States.STATE15"
|
"fullIdentifier" : "States.STATE15"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT14",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT14",
|
||||||
|
"fullIdentifier" : "Events.EVENT14"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATE16",
|
"rawName" : "States.STATE16",
|
||||||
"fullIdentifier" : "States.STATE16"
|
"fullIdentifier" : "States.STATE16"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT15",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT15",
|
||||||
|
"fullIdentifier" : "Events.EVENT15"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -232,7 +277,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -694,7 +742,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1",
|
"rawName" : "States.STATE_EXTRA_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTX",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTX",
|
||||||
|
"fullIdentifier" : "Events.EVENTX"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -85,7 +85,10 @@
|
|||||||
"rawName" : "\"PROCESSING\"",
|
"rawName" : "\"PROCESSING\"",
|
||||||
"fullIdentifier" : "PROCESSING"
|
"fullIdentifier" : "PROCESSING"
|
||||||
} ],
|
} ],
|
||||||
"event" : "SUBMIT",
|
"event" : {
|
||||||
|
"rawName" : "\"SUBMIT\"",
|
||||||
|
"fullIdentifier" : "SUBMIT"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ {
|
"actions" : [ {
|
||||||
"expression" : "processAction()",
|
"expression" : "processAction()",
|
||||||
@@ -106,7 +109,10 @@
|
|||||||
"rawName" : "\"COMPLETED\"",
|
"rawName" : "\"COMPLETED\"",
|
||||||
"fullIdentifier" : "COMPLETED"
|
"fullIdentifier" : "COMPLETED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "FINISH",
|
"event" : {
|
||||||
|
"rawName" : "\"FINISH\"",
|
||||||
|
"fullIdentifier" : "FINISH"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "OrderStates.PAID",
|
"rawName" : "OrderStates.PAID",
|
||||||
"fullIdentifier" : "OrderStates.PAID"
|
"fullIdentifier" : "OrderStates.PAID"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.PAY",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.PAY",
|
||||||
|
"fullIdentifier" : "OrderEvents.PAY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "OrderStates.FULFILLED",
|
"rawName" : "OrderStates.FULFILLED",
|
||||||
"fullIdentifier" : "OrderStates.FULFILLED"
|
"fullIdentifier" : "OrderStates.FULFILLED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.FULFILL",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.FULFILL",
|
||||||
|
"fullIdentifier" : "OrderEvents.FULFILL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "OrderStates.CANCELED",
|
"rawName" : "OrderStates.CANCELED",
|
||||||
"fullIdentifier" : "OrderStates.CANCELED"
|
"fullIdentifier" : "OrderStates.CANCELED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "OrderEvents.CANCEL"
|
||||||
|
},
|
||||||
"guard" : {
|
"guard" : {
|
||||||
"expression" : "new Guard<OrderStates,OrderEvents>(){\n @Override public boolean evaluate( StateContext<OrderStates,OrderEvents> context){\n return false;\n }\n}\n",
|
"expression" : "new Guard<OrderStates,OrderEvents>(){\n @Override public boolean evaluate( StateContext<OrderStates,OrderEvents> context){\n return false;\n }\n}\n",
|
||||||
"isLambda" : true,
|
"isLambda" : true,
|
||||||
@@ -71,7 +80,10 @@
|
|||||||
"rawName" : "OrderStates.CANCELED",
|
"rawName" : "OrderStates.CANCELED",
|
||||||
"fullIdentifier" : "OrderStates.CANCELED"
|
"fullIdentifier" : "OrderStates.CANCELED"
|
||||||
} ],
|
} ],
|
||||||
"event" : "OrderEvents.CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.CANCEL",
|
||||||
|
"fullIdentifier" : "OrderEvents.CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -82,7 +94,10 @@
|
|||||||
"fullIdentifier" : "OrderStates.SUBMITTED"
|
"fullIdentifier" : "OrderStates.SUBMITTED"
|
||||||
} ],
|
} ],
|
||||||
"targetStates" : [ ],
|
"targetStates" : [ ],
|
||||||
"event" : "OrderEvents.ABCD",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.ABCD",
|
||||||
|
"fullIdentifier" : "OrderEvents.ABCD"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -233,7 +248,10 @@
|
|||||||
"fullIdentifier" : "OrderStates.PAID1"
|
"fullIdentifier" : "OrderStates.PAID1"
|
||||||
} ],
|
} ],
|
||||||
"targetStates" : [ ],
|
"targetStates" : [ ],
|
||||||
"event" : "OrderEvents.ABCD",
|
"event" : {
|
||||||
|
"rawName" : "OrderEvents.ABCD",
|
||||||
|
"fullIdentifier" : "OrderEvents.ABCD"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ {
|
"actions" : [ {
|
||||||
"expression" : "new Action<OrderStates,OrderEvents>(){\n @Override public void execute( StateContext<OrderStates,OrderEvents> context){\n ;\n }\n}\n",
|
"expression" : "new Action<OrderStates,OrderEvents>(){\n @Override public void execute( StateContext<OrderStates,OrderEvents> context){\n ;\n }\n}\n",
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.STATE11",
|
"rawName" : "States.STATE11",
|
||||||
"fullIdentifier" : "States.STATE11"
|
"fullIdentifier" : "States.STATE11"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT10",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT10",
|
||||||
|
"fullIdentifier" : "Events.EVENT10"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.STATE12",
|
"rawName" : "States.STATE12",
|
||||||
"fullIdentifier" : "States.STATE12"
|
"fullIdentifier" : "States.STATE12"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT11",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT11",
|
||||||
|
"fullIdentifier" : "Events.EVENT11"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.STATE13",
|
"rawName" : "States.STATE13",
|
||||||
"fullIdentifier" : "States.STATE13"
|
"fullIdentifier" : "States.STATE13"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT12",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT12",
|
||||||
|
"fullIdentifier" : "Events.EVENT12"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.STATE14",
|
"rawName" : "States.STATE14",
|
||||||
"fullIdentifier" : "States.STATE14"
|
"fullIdentifier" : "States.STATE14"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT13",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT13",
|
||||||
|
"fullIdentifier" : "Events.EVENT13"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.STATE15",
|
"rawName" : "States.STATE15",
|
||||||
"fullIdentifier" : "States.STATE15"
|
"fullIdentifier" : "States.STATE15"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT14",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT14",
|
||||||
|
"fullIdentifier" : "Events.EVENT14"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATE16",
|
"rawName" : "States.STATE16",
|
||||||
"fullIdentifier" : "States.STATE16"
|
"fullIdentifier" : "States.STATE16"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT15",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT15",
|
||||||
|
"fullIdentifier" : "Events.EVENT15"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -232,7 +277,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -246,7 +294,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -260,7 +311,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -274,7 +328,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -288,7 +345,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -302,7 +362,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -764,7 +827,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1",
|
"rawName" : "States.STATE_EXTRA_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTX",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTX",
|
||||||
|
"fullIdentifier" : "Events.EVENTX"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -813,7 +879,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_3",
|
"rawName" : "States.STATE_EXTRA_3",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_3"
|
"fullIdentifier" : "States.STATE_EXTRA_3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -827,7 +896,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -841,7 +913,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
@@ -22,7 +22,10 @@
|
|||||||
"rawName" : "States.STATE2",
|
"rawName" : "States.STATE2",
|
||||||
"fullIdentifier" : "States.STATE2"
|
"fullIdentifier" : "States.STATE2"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT1",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT1",
|
||||||
|
"fullIdentifier" : "Events.EVENT1"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -36,7 +39,10 @@
|
|||||||
"rawName" : "States.STATE3",
|
"rawName" : "States.STATE3",
|
||||||
"fullIdentifier" : "States.STATE3"
|
"fullIdentifier" : "States.STATE3"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT2",
|
||||||
|
"fullIdentifier" : "Events.EVENT2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -50,7 +56,10 @@
|
|||||||
"rawName" : "States.STATE4",
|
"rawName" : "States.STATE4",
|
||||||
"fullIdentifier" : "States.STATE4"
|
"fullIdentifier" : "States.STATE4"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT3",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT3",
|
||||||
|
"fullIdentifier" : "Events.EVENT3"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -64,7 +73,10 @@
|
|||||||
"rawName" : "States.STATE5",
|
"rawName" : "States.STATE5",
|
||||||
"fullIdentifier" : "States.STATE5"
|
"fullIdentifier" : "States.STATE5"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT4",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT4",
|
||||||
|
"fullIdentifier" : "Events.EVENT4"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -78,7 +90,10 @@
|
|||||||
"rawName" : "States.STATE6",
|
"rawName" : "States.STATE6",
|
||||||
"fullIdentifier" : "States.STATE6"
|
"fullIdentifier" : "States.STATE6"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT5",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT5",
|
||||||
|
"fullIdentifier" : "Events.EVENT5"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -92,7 +107,10 @@
|
|||||||
"rawName" : "States.STATE7",
|
"rawName" : "States.STATE7",
|
||||||
"fullIdentifier" : "States.STATE7"
|
"fullIdentifier" : "States.STATE7"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT6",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT6",
|
||||||
|
"fullIdentifier" : "Events.EVENT6"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -106,7 +124,10 @@
|
|||||||
"rawName" : "States.STATE8",
|
"rawName" : "States.STATE8",
|
||||||
"fullIdentifier" : "States.STATE8"
|
"fullIdentifier" : "States.STATE8"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT7",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT7",
|
||||||
|
"fullIdentifier" : "Events.EVENT7"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -120,7 +141,10 @@
|
|||||||
"rawName" : "States.STATE9",
|
"rawName" : "States.STATE9",
|
||||||
"fullIdentifier" : "States.STATE9"
|
"fullIdentifier" : "States.STATE9"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT8",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT8",
|
||||||
|
"fullIdentifier" : "Events.EVENT8"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -134,7 +158,10 @@
|
|||||||
"rawName" : "States.STATE10",
|
"rawName" : "States.STATE10",
|
||||||
"fullIdentifier" : "States.STATE10"
|
"fullIdentifier" : "States.STATE10"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT9",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT9",
|
||||||
|
"fullIdentifier" : "Events.EVENT9"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -148,7 +175,10 @@
|
|||||||
"rawName" : "States.STATE11",
|
"rawName" : "States.STATE11",
|
||||||
"fullIdentifier" : "States.STATE11"
|
"fullIdentifier" : "States.STATE11"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT10",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT10",
|
||||||
|
"fullIdentifier" : "Events.EVENT10"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -162,7 +192,10 @@
|
|||||||
"rawName" : "States.STATE12",
|
"rawName" : "States.STATE12",
|
||||||
"fullIdentifier" : "States.STATE12"
|
"fullIdentifier" : "States.STATE12"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT11",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT11",
|
||||||
|
"fullIdentifier" : "Events.EVENT11"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -176,7 +209,10 @@
|
|||||||
"rawName" : "States.STATE13",
|
"rawName" : "States.STATE13",
|
||||||
"fullIdentifier" : "States.STATE13"
|
"fullIdentifier" : "States.STATE13"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT12",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT12",
|
||||||
|
"fullIdentifier" : "Events.EVENT12"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -190,7 +226,10 @@
|
|||||||
"rawName" : "States.STATE14",
|
"rawName" : "States.STATE14",
|
||||||
"fullIdentifier" : "States.STATE14"
|
"fullIdentifier" : "States.STATE14"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT13",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT13",
|
||||||
|
"fullIdentifier" : "Events.EVENT13"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -204,7 +243,10 @@
|
|||||||
"rawName" : "States.STATE15",
|
"rawName" : "States.STATE15",
|
||||||
"fullIdentifier" : "States.STATE15"
|
"fullIdentifier" : "States.STATE15"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT14",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT14",
|
||||||
|
"fullIdentifier" : "Events.EVENT14"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -218,7 +260,10 @@
|
|||||||
"rawName" : "States.STATE16",
|
"rawName" : "States.STATE16",
|
||||||
"fullIdentifier" : "States.STATE16"
|
"fullIdentifier" : "States.STATE16"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT15",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT15",
|
||||||
|
"fullIdentifier" : "Events.EVENT15"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -232,7 +277,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -246,7 +294,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -260,7 +311,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -274,7 +328,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -288,7 +345,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -302,7 +362,10 @@
|
|||||||
"rawName" : "States.STATEY",
|
"rawName" : "States.STATEY",
|
||||||
"fullIdentifier" : "States.STATEY"
|
"fullIdentifier" : "States.STATEY"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTY",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTY",
|
||||||
|
"fullIdentifier" : "Events.EVENTY"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -764,7 +827,10 @@
|
|||||||
"rawName" : "States.STATE_EXTRA_1",
|
"rawName" : "States.STATE_EXTRA_1",
|
||||||
"fullIdentifier" : "States.STATE_EXTRA_1"
|
"fullIdentifier" : "States.STATE_EXTRA_1"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENTX",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENTX",
|
||||||
|
"fullIdentifier" : "Events.EVENTX"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -778,7 +844,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
@@ -792,7 +861,10 @@
|
|||||||
"rawName" : "States.CANCEL",
|
"rawName" : "States.CANCEL",
|
||||||
"fullIdentifier" : "States.CANCEL"
|
"fullIdentifier" : "States.CANCEL"
|
||||||
} ],
|
} ],
|
||||||
"event" : "Events.EVENT_CANCEL_2",
|
"event" : {
|
||||||
|
"rawName" : "Events.EVENT_CANCEL_2",
|
||||||
|
"fullIdentifier" : "Events.EVENT_CANCEL_2"
|
||||||
|
},
|
||||||
"guard" : null,
|
"guard" : null,
|
||||||
"actions" : [ ],
|
"actions" : [ ],
|
||||||
"order" : null
|
"order" : null
|
||||||
|
|||||||
Reference in New Issue
Block a user