Class StepExecutionService
java.lang.Object
io.getlime.security.powerauth.lib.cmd.service.StepExecutionService
Service for execution of PowerAuth step processes
- Author:
- Lukas Lukovsky, lukas.lukovsky@wultra.com
-
Constructor Summary
ConstructorsConstructorDescriptionStepExecutionService(StepLogger stepLogger, StepProvider stepProvider) Constructor -
Method Summary
Modifier and TypeMethodDescriptionexecute(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 Exception Executes 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
-