public class VertxParameterProvider extends Object implements VertxExtensionParameterProvider<Vertx>
Constructor and Description |
---|
VertxParameterProvider() |
Modifier and Type | Method and Description |
---|---|
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 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>
Copyright © 2024 Eclipse. All rights reserved.