Class UmlModelParser
java.lang.Object
org.springframework.statemachine.uml.support.UmlModelParser
Model parser which constructs states and transitions data out from an uml
model. This implementation is not thread safe and model parsing can only be
used once per instance.
- Author:
- Janne Valkealahti
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Holder object for results returned from uml parser. -
Field Summary
-
Constructor Summary
ConstructorDescriptionUmlModelParser
(org.eclipse.uml2.uml.Model model, StateMachineComponentResolver<String, String> resolver) Instantiates a new uml model parser. -
Method Summary
-
Field Details
-
LANGUAGE_BEAN
- See Also:
-
LANGUAGE_SPEL
- See Also:
-
-
Constructor Details
-
UmlModelParser
public UmlModelParser(org.eclipse.uml2.uml.Model model, StateMachineComponentResolver<String, String> resolver) Instantiates a new uml model parser.- Parameters:
model
- the modelresolver
- the resolver
-
-
Method Details
-
parseModel
Parses the model.- Returns:
- the data holder for states and transitions
-