Class HistoryService

java.lang.Object
de.otto.synapse.edison.history.HistoryService

@ConditionalOnProperty(prefix="synapse.edison.history",
                       name="enabled",
                       havingValue="true")
public class HistoryService
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    HistoryService()  
  • Method Summary

    Modifier and Type Method Description
    History getHistory​(java.lang.String type, java.lang.String entityId)
    Returns the History of an entity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getHistory

      public History getHistory​(java.lang.String type, java.lang.String entityId)
      Returns the History of an entity.
      Parameters:
      type - selects the StateRepository that is holding the entity
      entityId - the entity
      Returns:
      History