Class MooreBuilder.MooreBuilder4

    • Method Detail

      • loop

        public MooreBuilder.MooreBuilder6 loop()
        Sets the target state(s) of the current transition definition(s) by looping back to the respective source state(s).
        Returns:
        the next fluent state
      • to

        public MooreBuilder.MooreBuilder6 to​(Object stateId)
        Sets the target state of the current transition definition(s).
        Parameters:
        stateId - the object to identify the state
        Returns:
        the next fluent state