Class ExecutionContext
- java.lang.Object
-
- de.rwth.swc.coffee4j.engine.process.phase.execution.ExecutionContext
-
- All Implemented Interfaces:
PhaseContext
public class ExecutionContext extends Object implements PhaseContext
Supplies contextual information, that is needed during an execution phase
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionContext
createExecutionContext(ExtensionExecutor extensionExecutor, TestMethodConfiguration testMethodConfiguration, List<? extends ExecutionReporter> executionReporters)
Creates a newExecutionContext
using the supplied informationList<ExecutionReporter>
getExecutionReporters()
ExtensionExecutor
getExtensionExecutor()
TestMethodConfiguration
getTestMethodConfiguration()
-
-
-
Method Detail
-
createExecutionContext
public static ExecutionContext createExecutionContext(ExtensionExecutor extensionExecutor, TestMethodConfiguration testMethodConfiguration, List<? extends ExecutionReporter> executionReporters)
Creates a newExecutionContext
using the supplied information- Parameters:
extensionExecutor
- theExtensionExecutor
to usetestMethodConfiguration
- theTestMethodConfiguration
to useexecutionReporters
- theexecution reporters
to use- Returns:
- the created
ExecutionContext
-
getExtensionExecutor
public ExtensionExecutor getExtensionExecutor()
-
getTestMethodConfiguration
public TestMethodConfiguration getTestMethodConfiguration()
-
getExecutionReporters
public List<ExecutionReporter> getExecutionReporters()
-
-