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
    ResultStatusObject execute​(PowerAuthStep stepId, PowerAuthVersion version, BaseStepModel model)
    Executes the provided step at desired version with the model data

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StepExecutionService

      @Autowired public StepExecutionService​(StepLogger stepLogger, StepProvider stepProvider)
      Constructor
      Parameters:
      stepLogger - Step logger
      stepProvider - Provider of steps
  • Method Details

    • execute

      public ResultStatusObject execute​(PowerAuthStep stepId, PowerAuthVersion version, BaseStepModel model) throws java.lang.Exception
      Executes the provided step at desired version with the model data
      Parameters:
      stepId - PowerAuth step identification
      version - PowerAuth step version
      model - Model data
      Returns:
      Activation status after execution of the step
      Throws:
      java.lang.Exception - when an error during the step execution occurred