Class PulsarAdminTool

java.lang.Object
org.apache.pulsar.admin.cli.PulsarAdminTool
Direct Known Subclasses:
AdminShell

public class PulsarAdminTool extends Object
  • Field Details

    • customCommandFactories

      protected List<org.apache.pulsar.admin.cli.extensions.CustomCommandFactory> customCommandFactories
    • commandMap

      protected Map<String,Class<?>> commandMap
    • jcommander

      protected com.beust.jcommander.JCommander jcommander
    • rootParams

      protected PulsarAdminTool.RootParams rootParams
  • Constructor Details

  • Method Details

    • initRootParamsFromProperties

      protected void initRootParamsFromProperties(Properties properties)
    • setupCommands

      public void setupCommands()
    • run

      protected boolean run(String[] args)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • initJCommander

      protected void initJCommander()
    • setPulsarAdminSupplier

      public void setPulsarAdminSupplier(PulsarAdminSupplier pulsarAdminSupplier)
    • getPulsarAdminSupplier

      public PulsarAdminSupplier getPulsarAdminSupplier()
    • getRootParams

      public PulsarAdminTool.RootParams getRootParams()