Package org.jivesoftware.smack.fsm
Class StateDescriptorGraph
java.lang.Object
org.jivesoftware.smack.fsm.StateDescriptorGraph
Smack's utility API for Finite State Machines (FSM).
Thanks to Andreas Fried for the fun and successful bug hunting session.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconstructStateDescriptorGraph
(Set<Class<? extends StateDescriptor>> backwardEdgeStateDescriptors, boolean failOnUnknownStates) convertToStateGraph
(StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptor, ModularXmppClientToServerConnectionInternal connectionInternal) static void
stateDescriptorGraphToDot
(Collection<StateDescriptorGraph.GraphVertex<StateDescriptor>> vertexes, PrintWriter dotOut, boolean breakStateName)
-
Constructor Details
-
StateDescriptorGraph
public StateDescriptorGraph()
-
-
Method Details
-
constructStateDescriptorGraph
public static StateDescriptorGraph.GraphVertex<StateDescriptor> constructStateDescriptorGraph(Set<Class<? extends StateDescriptor>> backwardEdgeStateDescriptors, boolean failOnUnknownStates) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException -
convertToStateGraph
public static StateDescriptorGraph.GraphVertex<State> convertToStateGraph(StateDescriptorGraph.GraphVertex<StateDescriptor> initialStateDescriptor, ModularXmppClientToServerConnectionInternal connectionInternal) -
stateDescriptorGraphToDot
public static void stateDescriptorGraphToDot(Collection<StateDescriptorGraph.GraphVertex<StateDescriptor>> vertexes, PrintWriter dotOut, boolean breakStateName)
-