Class ChainBuilderImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T <T> commandInterface, <T> commands)
      Creates a chain instance from a command interface and a list of commands (implementing the interface).
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Method Detail

      • build

        public <T> T <T> commandInterface,
                           <T> commands)
        Description copied from interface: ChainBuilder
        Creates a chain instance from a command interface and a list of commands (implementing the interface).
        Specified by:
        build in interface ChainBuilder
        Type Parameters:
        T - the command interface type
        Parameters:
        commandInterface - the command interface
        commands - the list of commands to be chained
        Returns:
        the chain instance