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