Class Transition.DirectTransition

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Transition

    public static class Transition.DirectTransition
    extends Transition
    Direct transitions are the simplest of transitions. They transition directly to the indicated state. The value of a direct_transition is simply the name of the state to transition to.
    See Also:
    Serialized Form
    • Constructor Detail

      • DirectTransition

        public DirectTransition​(java.lang.String transition)
    • Method Detail

      • follow

        public java.lang.String follow​(Person person,
                                       long time)
        Description copied from class: Transition
        Get the name of the next state.
        Specified by:
        follow in class Transition
        Parameters:
        person - : person being processed
        time - : time of this transition
        Returns:
        name : name of the next state