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 Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHistory(String type, 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
-