Class CommanderFactory

java.lang.Object
org.apache.pulsar.internal.CommanderFactory

public class CommanderFactory extends Object
  • Constructor Details

    • CommanderFactory

      public CommanderFactory()
  • Method Details

    • createRootCommanderWithHook

      public static picocli.CommandLine createRootCommanderWithHook(Object object, picocli.CommandLine.IDefaultValueProvider defaultValueProvider)
      createRootCommanderWithHook is used for the root command, which supports the hook feature.
      Parameters:
      object - Command class or object.
      defaultValueProvider - Default value provider of command.
      Returns:
      Picocli commander.