Package org.apache.pulsar.admin.cli
Class PulsarAdminTool
java.lang.Object
org.apache.pulsar.admin.cli.PulsarAdminTool
- Direct Known Subclasses:
AdminShell
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PulsarAdminBuilderprotected List<CustomCommandFactory>protected com.beust.jcommander.JCommanderprotected PulsarAdminTool.RootParams -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PulsarAdminBuildercreateAdminBuilder(Properties properties) protected voidprotected voidinitRootParamsFromProperties(Properties properties) static voidprotected booleanvoidsetupCommands(Function<PulsarAdminBuilder, ? extends PulsarAdmin> adminFactory)
-
Field Details
-
customCommandFactories
-
commandMap
-
jcommander
protected com.beust.jcommander.JCommander jcommander -
adminBuilder
-
rootParams
-
-
Constructor Details
-
PulsarAdminTool
- Throws:
Exception
-
-
Method Details
-
createAdminBuilder
-
initRootParamsFromProperties
-
setupCommands
-
run
-
main
- Throws:
Exception
-
initJCommander
protected void initJCommander()
-