Example usage for org.springframework.statemachine.processor StateMachineRuntime getStateContext

List of usage examples for org.springframework.statemachine.processor StateMachineRuntime getStateContext

Introduction

In this page you can find the example usage for org.springframework.statemachine.processor StateMachineRuntime getStateContext.

Prototype

StateContext<S, E> getStateContext();

Source Link

Document

Gets the state context.

Usage

From source file:org.springframework.statemachine.processor.StateMachineMethodInvokerHelper.java

public T process(StateMachineRuntime<S, E> stateMachineRuntime) throws Exception {
    ParametersWrapper<S, E> wrapper = new ParametersWrapper<S, E>(stateMachineRuntime.getStateContext());
    return processInternal(wrapper);
}