
org.squirrelframework.foundation.fsm.Actions Maven / Gradle / Ivy
package org.squirrelframework.foundation.fsm;
import java.util.List;
import org.squirrelframework.foundation.component.SquirrelComponent;
/**
* Action collection which insert new action in predefined order.
*
* @author Henry.He
*
* @param type of State Machine
* @param type of State
* @param type of Event
* @param type of Context
*/
public interface Actions, S, E, C> extends SquirrelComponent {
/**
* Add a new action
* @param newAction new action
*/
void add(Action newAction);
/**
* Add a list of new actions
* @param newActions new actions
*/
void addAll(List> newActions);
/**
* @return all sorted actions
*/
List> getAll();
/**
* Remove all actions
*/
void clear();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy