public class VertxParameterProvider extends Object implements VertxExtensionParameterProvider<Vertx>
Modifier and Type | Field and Description |
---|---|
static String |
VERTX_PARAMETER_FILENAME |
Constructor and Description |
---|
VertxParameterProvider() |
Modifier and Type | Method and Description |
---|---|
JsonObject |
getVertxOptions() |
String |
key()
A string to identify the parameter in an extension context.
|
Vertx |
newInstance(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
org.junit.jupiter.api.extension.ParameterContext parameterContext)
Provide a new parameter instance.
|
ParameterClosingConsumer<Vertx> |
parameterClosingConsumer()
A consumer to close the resource.
|
Class<Vertx> |
type()
The parameter type.
|
public static final String VERTX_PARAMETER_FILENAME
public Class<Vertx> type()
VertxExtensionParameterProvider
type
in interface VertxExtensionParameterProvider<Vertx>
public String key()
VertxExtensionParameterProvider
In most cases it should be a constant.
key
in interface VertxExtensionParameterProvider<Vertx>
public Vertx newInstance(org.junit.jupiter.api.extension.ExtensionContext extensionContext, org.junit.jupiter.api.extension.ParameterContext parameterContext)
VertxExtensionParameterProvider
newInstance
in interface VertxExtensionParameterProvider<Vertx>
extensionContext
- the extension contextparameterContext
- the parameter contextpublic ParameterClosingConsumer<Vertx> parameterClosingConsumer()
VertxExtensionParameterProvider
parameterClosingConsumer
in interface VertxExtensionParameterProvider<Vertx>
public JsonObject getVertxOptions()
Copyright © 2021 Eclipse. All rights reserved.