Package org.apache.pulsar.shell
Class ConfigShell
java.lang.Object
org.apache.pulsar.shell.ConfigShell
- All Implemented Interfaces:
ShellCommandsProvider
Shell commands to manage shell configurations.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCurrent admin url for connecting to pulsar admin.picocli.CommandLineReturn commander instance.getName()Name of the commands.Current service url for connecting to brokers.
-
Constructor Details
-
ConfigShell
-
-
Method Details
-
getName
Description copied from interface:ShellCommandsProviderName of the commands. This will be used as program name.- Specified by:
getNamein interfaceShellCommandsProvider- Returns:
-
getServiceUrl
Description copied from interface:ShellCommandsProviderCurrent service url for connecting to brokers. If the provider doesn't need brokers connection or the service url is not set it must return null.- Specified by:
getServiceUrlin interfaceShellCommandsProvider- Returns:
- service url
-
getAdminUrl
Description copied from interface:ShellCommandsProviderCurrent admin url for connecting to pulsar admin. If the provider doesn't need brokers connection or the admin url is not set it must return null.- Specified by:
getAdminUrlin interfaceShellCommandsProvider- Returns:
- admin url
-
getCommander
public picocli.CommandLine getCommander()Description copied from interface:ShellCommandsProviderReturn commander instance.- Specified by:
getCommanderin interfaceShellCommandsProvider- Returns:
- Non-null.
-