Interface Configurer<O,​B extends Builder<O>>

    • Method Detail

      • init

        void init​(B builder)
           throws Exception
        Initialize the Builder. Here only shared state should be created and modified, but not properties on the Builder used for building the object. This ensures that the configure(Builder) method uses the correct shared objects when building. Configurers should be applied here.
        Parameters:
        builder -
        Throws:
        Exception
      • configure

        void configure​(B builder)
                throws Exception
        Configure the Builder by setting the necessary properties on the Builder.
        Parameters:
        builder -
        Throws:
        Exception