Package de.otto.synapse.edison.history
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 HistorygetHistory(java.lang.String type, java.lang.String entityId)Returns theHistoryof an entity.
-
Constructor Details
-
HistoryService
public HistoryService()
-
-
Method Details
-
getHistory
Returns theHistoryof an entity.- Parameters:
type- selects theStateRepositorythat is holding the entityentityId- the entity- Returns:
- History
-