Interface Assembler<C>

    • Method Detail

      • start

        void start​(DataBuffer product)
            throws java.io.IOException
        Start the assembly process.
        Parameters:
        product - Storage for the assembled product
        Throws:
        java.io.IOException - When an I/O error occurs
      • add

        void add​(C component)
          throws java.io.IOException
        Add a component to the assembly. The assembler must be opened first.
        Parameters:
        component - The component to add
        Throws:
        java.io.IOException - When an I/O error occurs
      • end

        void end()
          throws java.io.IOException
        Finish the assembly process.
        Throws:
        java.io.IOException - When an I/O error occurs
      • getMetrics

        Metrics getMetrics()
        Return metrics about the assembly process. Implementations will generally provide dedicated classes that you should cast the result to.
        Returns:
        Metrics about the assembly process, or null if no metrics are provided