Class HistoryData<S,E>

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

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

    • HistoryData

      public HistoryData(S source, S target)
      Instantiates a new history 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