Class RepositoryState
java.lang.Object
org.springframework.statemachine.data.BaseRepositoryEntity
org.springframework.statemachine.data.RepositoryState
- Direct Known Subclasses:
JpaRepositoryState,MongoDbRepositoryState,RedisRepositoryState
Generic base class representing state entity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the deferred events.abstract Set<? extends RepositoryAction>Gets the entry actions.abstract Set<? extends RepositoryAction>Gets the exit actions.abstract RepositoryActionGets the initial action.abstract PseudoStateKindgetKind()Gets the pseudo state kind.abstract StringGets the machine id.abstract RepositoryStateGets the parent state.abstract StringGets the region.abstract StringgetState()Gets the state.abstract Set<? extends RepositoryAction>Gets the state actions.abstract StringGets the submachine id indicating that this is a submachine state and its structure is available from particular machine itself.abstract BooleanChecks if is initial.
-
Constructor Details
-
RepositoryState
public RepositoryState()
-
-
Method Details
-
getParentState
Gets the parent state.- Returns:
- the parent state
-
getMachineId
Gets the machine id.- Returns:
- the machine id
-
getState
Gets the state.- Returns:
- the state
-
getRegion
Gets the region.- Returns:
- the region
-
isInitial
Checks if is initial.- Returns:
- true, if is initial
-
getInitialAction
Gets the initial action. This is any meaningful if state is initial state.- Returns:
- the initial action
-
getStateActions
Gets the state actions.- Returns:
- the state actions
-
getEntryActions
Gets the entry actions.- Returns:
- the entry actions
-
getExitActions
Gets the exit actions.- Returns:
- the exit actions
-
getKind
Gets the pseudo state kind.- Returns:
- the pseudo state kind
-
getDeferredEvents
Gets the deferred events.- Returns:
- the deferred events
-
getSubmachineId
Gets the submachine id indicating that this is a submachine state and its structure is available from particular machine itself.- Returns:
- the submachine id
-