Class RepositoryStateMachine

java.lang.Object
org.springframework.statemachine.data.BaseRepositoryEntity
org.springframework.statemachine.data.RepositoryStateMachine
Direct Known Subclasses:
JpaRepositoryStateMachine, MongoDbRepositoryStateMachine, RedisRepositoryStateMachine

public abstract class RepositoryStateMachine extends BaseRepositoryEntity
Generic base class representing state machine entity.
Author:
Janne Valkealahti
  • Constructor Details

    • RepositoryStateMachine

      public RepositoryStateMachine()
  • Method Details

    • getMachineId

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

      public abstract String getState()
      Gets the state.
      Returns:
      the state
    • getStateMachineContext

      public abstract byte[] getStateMachineContext()
      Gets the state machine context.
      Returns:
      the state machine context