Class StepExecutionService
java.lang.Object
io.getlime.security.powerauth.lib.cmd.service.StepExecutionService
@Service public class StepExecutionService extends Object
Service for execution of PowerAuth step processes
- Author:
- Lukas Lukovsky, lukas.lukovsky@wultra.com
-
Constructor Summary
Constructors Constructor Description StepExecutionService(StepLogger stepLogger, StepProvider stepProvider)Constructor -
Method Summary
Modifier and Type Method Description ResultStatusObjectexecute(PowerAuthStep stepId, PowerAuthVersion version, BaseStepModel model)Executes the provided step at desired version with the model data
-
Constructor Details
-
StepExecutionService
Constructor- Parameters:
stepLogger- Step loggerstepProvider- Provider of steps
-
-
Method Details
-
execute
public ResultStatusObject execute(PowerAuthStep stepId, PowerAuthVersion version, BaseStepModel model) throws ExceptionExecutes the provided step at desired version with the model data- Parameters:
stepId- PowerAuth step identificationversion- PowerAuth step versionmodel- Model data- Returns:
- Activation status after execution of the step
- Throws:
Exception- when an error during the step execution occurred
-