
de.scravy.machina.StateMachine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of machina Show documentation
Show all versions of machina Show documentation
A finite state machine library that features true stateless
state machines.
package de.scravy.machina;
import java.util.List;
public interface StateMachine {
/**
* Get the transitions defined in this state machine.
*
* @since 1.0.0
* @return A List of Transitions
*/
List> getTransitions();
/**
* Get the class that the events of this state machine inherit from.
*
* @since 1.0.0
* @return The class that the events of this state machine inherit from.
*/
Class getEventClass();
/**
* Get the class that the event types of this state machine inherit from.
*
* @since 1.0.0
* @return The class that the event types of this state machine inherit from.
*/
Class getEventTypeClass();
/**
* The class that the states of this state machine inherit from.
*
* @since 1.0.0
* @return Get the class that the states of this state machine inherit from.
*/
Class getStateClass();
S getInitialState();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy