Interface BindingsBuilder


  • public interface BindingsBuilder
    Chainable bindings builder.
    See Also:
    Bindings
    • Method Detail

      • put

        BindingsBuilder put​(String name,
                            Object object)
        Adds a binding to the builder
        Parameters:
        name - the name of the binding
        object - the value of the binding
        Returns:
        this builder (for chaining)
      • apply

        BindingsBuilder apply​(Consumer<Bindings> action)
        Applies an action to this builder
        Parameters:
        action - the action to apply
        Returns:
        this builder (for chaining)
      • build

        Bindings build()
        Returns the modified Bindings instance
        Returns:
        the bindings