
org.squirrelframework.foundation.fsm.builder.MultiTransitionBuilder Maven / Gradle / Ivy
package org.squirrelframework.foundation.fsm.builder;
import org.squirrelframework.foundation.fsm.StateMachine;
/**
* Created by kailianghe on 7/12/14.
*/
public interface MultiTransitionBuilder, S, E, C> {
/**
* Build transition source state.
* @param stateId id of state
* @return multi from clause builder
*/
MultiFrom from(S stateId);
/**
* Build transition source states.
* @param stateIds id of states
* @return single from clause builder
*/
From fromAmong(S... stateIds);
/**
* Build mutual transitions between two state
* @param fromStateId from state id
* @return between clause builder
*/
Between between(S fromStateId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy