Class StateMachineTrace

java.lang.Object
org.springframework.statemachine.boot.actuate.StateMachineTrace

public final class StateMachineTrace extends Object
A value object representing a statemachine trace event: at a particular time with a simple (map) information.
Author:
Janne Valkealahti
  • Constructor Details

    • StateMachineTrace

      public StateMachineTrace(Date timestamp, Map<String,Object> info)
      Instantiate a new StateMachineTrace.
      Parameters:
      timestamp - the timestamp
      info - the trace info
  • Method Details

    • getTimestamp

      public Date getTimestamp()
      Gets a timestamp
      Returns:
      a trace timestamp
    • getInfo

      public Map<String,Object> getInfo()
      Gets a trace info.
      Returns:
      a trace info