Class StepExecutionService
java.lang.Object
io.getlime.security.powerauth.lib.cmd.service.StepExecutionService
@Service
public class StepExecutionService
extends java.lang.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 dataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StepExecutionService
Constructor- Parameters:
stepLogger- Step loggerstepProvider- Provider of steps
-
-
Method Details
-
execute
public ResultStatusObject execute(PowerAuthStep stepId, PowerAuthVersion version, BaseStepModel model) throws java.lang.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:
java.lang.Exception- when an error during the step execution occurred
-