@Beta public interface FlowObjectiveStore extends Store<ObjectiveEvent,FlowObjectiveStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
int |
allocateNextId()
Allocates a next objective id.
|
java.util.Map<java.lang.Integer,NextGroup> |
getAllGroups()
Fetch all groups from the store and their mapping to nextIds.
|
NextGroup |
getNextGroup(java.lang.Integer nextId)
Fetch a next group from the store.
|
void |
putNextGroup(java.lang.Integer nextId,
NextGroup group)
Adds a NextGroup to the store, by mapping it to the nextId as key,
and replacing any previous mapping.
|
NextGroup |
removeNextGroup(java.lang.Integer nextId)
Remove a next group mapping from the store.
|
hasDelegate, setDelegate, unsetDelegatevoid putNextGroup(java.lang.Integer nextId,
NextGroup group)
nextId - an integergroup - a next group opaque objectNextGroup getNextGroup(java.lang.Integer nextId)
nextId - an integer used as keyNextGroup removeNextGroup(java.lang.Integer nextId)
nextId - the key to remove from the store.java.util.Map<java.lang.Integer,NextGroup> getAllGroups()
int allocateNextId()