Class HistoryService

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

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

    • HistoryService

      public HistoryService()
  • Method Details

    • getHistory

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