Class RepositoryTransition

java.lang.Object
org.springframework.statemachine.data.BaseRepositoryEntity
org.springframework.statemachine.data.RepositoryTransition
Direct Known Subclasses:
JpaRepositoryTransition, MongoDbRepositoryTransition, RedisRepositoryTransition

public abstract class RepositoryTransition extends BaseRepositoryEntity
Generic base class representing transition entity.
  • Constructor Details

    • RepositoryTransition

      public RepositoryTransition()
  • Method Details

    • getMachineId

      public abstract String getMachineId()
      Gets the machine id.
      Returns:
      the machine id
    • getSource

      public abstract RepositoryState getSource()
      Gets the source.
      Returns:
      the source
    • getTarget

      public abstract RepositoryState getTarget()
      Gets the target.
      Returns:
      the target
    • getEvent

      public abstract String getEvent()
      Gets the event.
      Returns:
      the event
    • getActions

      public abstract Set<? extends RepositoryAction> getActions()
      Gets the actions.
      Returns:
      the actions
    • getGuard

      public abstract RepositoryGuard getGuard()
      Gets the guard.
      Returns:
      the guard
    • getKind

      public abstract TransitionKind getKind()
      Gets the transition kind.
      Returns:
      the transition kind