Class ExitData<S,E>

java.lang.Object
org.springframework.statemachine.config.model.ExitData<S,E>
Type Parameters:
S - the type of state
E - the type of event

public class ExitData<S,E> extends Object
A simple data object keeping exitpoint related configs in a same place.
  • Constructor Details

    • ExitData

      public ExitData(S source, S target)
      Instantiates a new exit data.
      Parameters:
      source - the source
      target - the target
  • Method Details

    • getSource

      public S getSource()
      Gets the source.
      Returns:
      the source
    • getTarget

      public S getTarget()
      Gets the target.
      Returns:
      the target