Interface InjectionStepBuilder

    • Method Detail

      • injectParameterForClass

        <T> FinalStepBuilder injectParameterForClass​(Class<T> parameterClass,
                                                     Function<ParameterInjectionInformation,​T> injector)
        Adds a new parameter injection.

        Calling this method again for the same class overwrites previous calls.

        Type Parameters:
        T - the type of the class
        Parameters:
        parameterClass - the class of the paramter to inject
        injector - a function to inject the value based on the ParameterInjectionInformation
        Returns:
        the next step in the fluent builder interface