Class EmbeddedTestEngine
java.lang.Object
fr.enedis.chutney.engine.api.execution.EmbeddedTestEngine
- All Implemented Interfaces:
TestEngine,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedTestEngine(ExecutionEngine engine, Reporter reporter, ExecutionManager executionManager, ActionsConfiguration actionsConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()execute(ExecutionRequestDto request) executeAsync(ExecutionRequestDto request) voidpauseExecution(Long executionId) io.reactivex.rxjava3.core.Observable<StepExecutionReportDto> receiveNotification(Long executionId) voidresumeExecution(Long executionId) voidstopExecution(Long executionId)
-
Constructor Details
-
EmbeddedTestEngine
public EmbeddedTestEngine(ExecutionEngine engine, Reporter reporter, ExecutionManager executionManager, ActionsConfiguration actionsConfiguration)
-
-
Method Details
-
execute
- Specified by:
executein interfaceTestEngine
-
executeAsync
- Specified by:
executeAsyncin interfaceTestEngine
-
receiveNotification
public io.reactivex.rxjava3.core.Observable<StepExecutionReportDto> receiveNotification(Long executionId) - Specified by:
receiveNotificationin interfaceTestEngine
-
pauseExecution
- Specified by:
pauseExecutionin interfaceTestEngine
-
resumeExecution
- Specified by:
resumeExecutionin interfaceTestEngine
-
stopExecution
- Specified by:
stopExecutionin interfaceTestEngine
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-