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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Set<? extends RepositoryAction>Gets the actions.abstract StringgetEvent()Gets the event.abstract RepositoryGuardgetGuard()Gets the guard.abstract TransitionKindgetKind()Gets the transition kind.abstract StringGets the machine id.abstract RepositoryStateGets the source.abstract RepositoryStateGets 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
-