Class StateChartBuilder<T>

java.lang.Object
repast.simphony.statecharts.StateChartBuilder<T>

public class StateChartBuilder<T> extends Object
  • Constructor Details

    • StateChartBuilder

      public StateChartBuilder(T agent, AbstractState<T> entryState, String entryStateUuid)
    • StateChartBuilder

      public StateChartBuilder(T agent, AbstractState<T> entryState)
  • Method Details

    • getAgent

      protected T getAgent()
    • setPriority

      public void setPriority(double priority)
    • registerEntryState

      protected void registerEntryState(AbstractState<T> entryState, String uuid)
    • addStateToStates

      protected void addStateToStates(AbstractState<T> state, String uuid)
    • registerEntryState

      protected void registerEntryState(AbstractState<T> entryState)
    • addRootState

      public void addRootState(AbstractState<T> state, String uuid)
    • addRootState

      public void addRootState(AbstractState<T> state)
    • addSelfTransition

      public void addSelfTransition(SelfTransition<T> transition)
    • addSelfTransition

      public void addSelfTransition(SelfTransition<T> transition, String uuid)
    • addRegularTransition

      public void addRegularTransition(Transition<T> transition)
    • addRegularTransition

      public void addRegularTransition(Transition<T> transition, String uuid)
    • setStateChartProperties

      protected void setStateChartProperties(DefaultStateChart<T> stateChart)
    • build

      public StateChart<T> build()