@API(status=INTERNAL,
since="5.0")
public class JupiterEngineExecutionContext
extends java.lang.Object
implements EngineExecutionContext
| Modifier and Type | Class and Description |
|---|---|
static class |
JupiterEngineExecutionContext.Builder |
private static class |
JupiterEngineExecutionContext.State |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
beforeAllCallbacksExecuted |
private boolean |
beforeAllMethodsExecuted |
private static Logger |
logger |
private JupiterEngineExecutionContext.State |
state |
| Modifier | Constructor and Description |
|---|---|
|
JupiterEngineExecutionContext(EngineExecutionListener executionListener,
JupiterConfiguration configuration) |
private |
JupiterEngineExecutionContext(JupiterEngineExecutionContext.State state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
beforeAllCallbacksExecuted() |
void |
beforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted)
Track that an attempt was made to execute
BeforeAllCallback extensions. |
boolean |
beforeAllMethodsExecuted() |
void |
beforeAllMethodsExecuted(boolean beforeAllMethodsExecuted)
Track that an attempt was made to execute
@BeforeAll methods. |
void |
close() |
JupiterEngineExecutionContext.Builder |
extend() |
JupiterConfiguration |
getConfiguration() |
EngineExecutionListener |
getExecutionListener() |
ExtensionContext |
getExtensionContext() |
MutableExtensionRegistry |
getExtensionRegistry() |
TestInstancesProvider |
getTestInstancesProvider() |
ThrowableCollector |
getThrowableCollector() |
private static final Logger logger
private final JupiterEngineExecutionContext.State state
private boolean beforeAllCallbacksExecuted
private boolean beforeAllMethodsExecuted
public JupiterEngineExecutionContext(EngineExecutionListener executionListener, JupiterConfiguration configuration)
private JupiterEngineExecutionContext(JupiterEngineExecutionContext.State state)
public void close()
throws java.lang.Exception
java.lang.Exceptionpublic EngineExecutionListener getExecutionListener()
public JupiterConfiguration getConfiguration()
public TestInstancesProvider getTestInstancesProvider()
public MutableExtensionRegistry getExtensionRegistry()
public ExtensionContext getExtensionContext()
public ThrowableCollector getThrowableCollector()
public void beforeAllCallbacksExecuted(boolean beforeAllCallbacksExecuted)
BeforeAllCallback extensions.public boolean beforeAllCallbacksExecuted()
true if an attempt was made to execute BeforeAllCallback
extensionspublic void beforeAllMethodsExecuted(boolean beforeAllMethodsExecuted)
@BeforeAll methods.public boolean beforeAllMethodsExecuted()
true if an attempt was made to execute @BeforeAll
methodspublic JupiterEngineExecutionContext.Builder extend()