Class 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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • HistoryService

        public HistoryService()
    • Method Detail

      • 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