Class ServerTestEngineJavaImpl

java.lang.Object
fr.enedis.chutney.execution.infra.execution.ServerTestEngineJavaImpl
All Implemented Interfaces:
fr.enedis.chutney.server.core.domain.execution.ServerTestEngine

public class ServerTestEngineJavaImpl extends Object implements fr.enedis.chutney.server.core.domain.execution.ServerTestEngine
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerTestEngineJavaImpl(fr.enedis.chutney.engine.api.execution.TestEngine executionEngine, ExecutionRequestMapper executionRequestMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.enedis.chutney.server.core.domain.execution.report.StepExecutionReportCore
    execute(fr.enedis.chutney.server.core.domain.execution.ExecutionRequest executionRequest)
     
    org.apache.commons.lang3.tuple.Pair<io.reactivex.rxjava3.core.Observable<fr.enedis.chutney.server.core.domain.execution.report.StepExecutionReportCore>,Long>
    executeAndFollow(fr.enedis.chutney.server.core.domain.execution.ExecutionRequest executionRequest)
     
    void
    pause(Long executionHash)
     
    void
    resume(Long executionHash)
     
    void
    stop(Long executionHash)
     

    Methods inherited from class java.lang.Object

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

    • ServerTestEngineJavaImpl

      public ServerTestEngineJavaImpl(fr.enedis.chutney.engine.api.execution.TestEngine executionEngine, ExecutionRequestMapper executionRequestMapper)
  • Method Details

    • execute

      public fr.enedis.chutney.server.core.domain.execution.report.StepExecutionReportCore execute(fr.enedis.chutney.server.core.domain.execution.ExecutionRequest executionRequest)
      Specified by:
      execute in interface fr.enedis.chutney.server.core.domain.execution.ServerTestEngine
    • executeAndFollow

      public org.apache.commons.lang3.tuple.Pair<io.reactivex.rxjava3.core.Observable<fr.enedis.chutney.server.core.domain.execution.report.StepExecutionReportCore>,Long> executeAndFollow(fr.enedis.chutney.server.core.domain.execution.ExecutionRequest executionRequest)
      Specified by:
      executeAndFollow in interface fr.enedis.chutney.server.core.domain.execution.ServerTestEngine
    • stop

      public void stop(Long executionHash)
      Specified by:
      stop in interface fr.enedis.chutney.server.core.domain.execution.ServerTestEngine
    • pause

      public void pause(Long executionHash)
      Specified by:
      pause in interface fr.enedis.chutney.server.core.domain.execution.ServerTestEngine
    • resume

      public void resume(Long executionHash)
      Specified by:
      resume in interface fr.enedis.chutney.server.core.domain.execution.ServerTestEngine