Package org.linkedin.groovy.util.state

Examples of org.linkedin.groovy.util.state.StateMachine


    if(toState == null)
      toState = StateMachine.NONE;

    // when no state machine (empty agents) nothing to do...
    StateMachine stateMachine = entryDelta.getStateMachine();
    if(stateMachine == null)
      return transition;

    int distance = stateMachine.getDistance(fromState, toState);

    @SuppressWarnings("unchecked")
    Collection<Map<String,String>> path =
      (Collection<Map<String,String>>) entryDelta.getStateMachine().findShortestPath(fromState,
                                                                                     toState);
View Full Code Here

TOP

Related Classes of org.linkedin.groovy.util.state.StateMachine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.