Class RepositoryTransition
java.lang.Object
org.springframework.statemachine.data.BaseRepositoryEntity
org.springframework.statemachine.data.RepositoryTransition
- Direct Known Subclasses:
JpaRepositoryTransition
,MongoDbRepositoryTransition
,RedisRepositoryTransition
Generic base class representing transition entity.
- Author:
- Janne Valkealahti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Set<? extends RepositoryAction>
Gets the actions.abstract String
getEvent()
Gets the event.abstract RepositoryGuard
getGuard()
Gets the guard.abstract TransitionKind
getKind()
Gets the transition kind.abstract String
Gets the machine id.abstract RepositoryState
Gets the source.abstract RepositoryState
Gets the target.
-
Constructor Details
-
RepositoryTransition
public RepositoryTransition()
-
-
Method Details
-
getMachineId
Gets the machine id.- Returns:
- the machine id
-
getSource
Gets the source.- Returns:
- the source
-
getTarget
Gets the target.- Returns:
- the target
-
getEvent
Gets the event.- Returns:
- the event
-
getActions
Gets the actions.- Returns:
- the actions
-
getGuard
Gets the guard.- Returns:
- the guard
-
getKind
Gets the transition kind.- Returns:
- the transition kind
-