Package org.chenile.stm.impl
Class STMActionsInfoProvider
java.lang.Object
org.chenile.stm.impl.STMActionsInfoProvider
Provides information about available actions for a given state etc.
This is useful to provide a HATEOAS approach to STM
- Author:
- Raja Shankar Kolluru
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedActions
(State state) getEventInformation
(String eventId) getMetadata
(State state, String metaId)
-
Field Details
-
stmFlowStore
-
-
Constructor Details
-
STMActionsInfoProvider
- Parameters:
stmFlowStore
- the stmFlowStore to set
-
-
Method Details
-
getAllowedActions
-
getAllowedActionsAndMetadata
-
getAllowedActionsWithMetadata
-
getMetadata
-
getEventInformation
-
getStatesAllowedForCurrentUser
-