Class BookieShellCommand<CliFlagsT extends CliFlags>
java.lang.Object
org.apache.bookkeeper.tools.cli.helpers.BookieShellCommand<CliFlagsT>
- All Implemented Interfaces:
BookieShell.Command
public class BookieShellCommand<CliFlagsT extends CliFlags>
extends Object
implements BookieShell.Command
This is a util class that converts new cli command to old shell command.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBookieShellCommand(String shellCmdName, BKCommand<CliFlagsT> bkCmd, org.apache.commons.configuration2.CompositeConfiguration conf) -
Method Summary
Modifier and TypeMethodDescriptionvoidint
-
Field Details
-
shellCmdName
-
bkCmd
-
conf
protected final org.apache.commons.configuration2.CompositeConfiguration conf
-
-
Constructor Details
-
BookieShellCommand
-
-
Method Details
-
runCmd
- Specified by:
runCmdin interfaceBookieShell.Command- Throws:
Exception
-
description
- Specified by:
descriptionin interfaceBookieShell.Command
-
printUsage
public void printUsage()- Specified by:
printUsagein interfaceBookieShell.Command
-