Interface CommandBuilderFactory


@ProviderType public interface CommandBuilderFactory
factory interface to create the required CommandBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends CommandBuilder>
    T
    creates the required CommandBuilder
  • Method Details

    • createCommandBuilder

      @Nonnull <T extends CommandBuilder> T createCommandBuilder(@Nonnull Class<T> clazz) throws IllegalArgumentException
      creates the required CommandBuilder
      Parameters:
      clazz - class name of the required command builder
      Returns:
      the required CommandBuilder
      Throws:
      IllegalArgumentException - if the clazz argument is unsupported