Interface VertxExtensionParameterProvider<T>

    • Method Detail

      • type

        Class<T> type()
        The parameter type.
        Returns:
        the parameter type
      • key

        String key()
        A string to identify the parameter in an extension context.

        In most cases it should be a constant.

        Returns:
        the identifier
      • newInstance

        T newInstance​(org.junit.jupiter.api.extension.ExtensionContext extensionContext,
                      org.junit.jupiter.api.extension.ParameterContext parameterContext)
        Provide a new parameter instance.
        Parameters:
        extensionContext - the extension context
        parameterContext - the parameter context
        Returns:
        the new instance
      • parameterClosingConsumer

        ParameterClosingConsumer<T> parameterClosingConsumer()
        A consumer to close the resource.
        Returns:
        the consumer