Interface TransitionFactory
public interface TransitionFactory
TransitionFactorys are responsible for instantiating
 TransitionElements; the interface encapsulating the execution
 logic of an SFC transition.
 
 To add a new type of transition, register a TransitionFactory with
 the GatewayTransitionRegistry.
- 
Method SummaryModifier and TypeMethodDescriptioncreate(ChartContext context, TransitionDefinition definition) Create aTransitionElementinstance as defined bydefinition.getId()
- 
Method Details- 
getIdString getId()- Returns:
- a unique String that identifies this transition type.
 
- 
createCreate aTransitionElementinstance as defined bydefinition.- Parameters:
- context- the- ChartContextthis transition will execute in.
- definition- the- TransitionDefinition.
- Returns:
- a TransitionElementinstance.
 
 
-