Class InitCommand
- java.lang.Object
-
- org.apache.bookkeeper.tools.framework.CliCommand<org.apache.bookkeeper.tools.common.BKFlags,CommandFlagsT>
-
- org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
-
- org.apache.bookkeeper.tools.cli.helpers.BookieCommand<org.apache.bookkeeper.tools.framework.CliFlags>
-
- org.apache.bookkeeper.tools.cli.commands.bookie.InitCommand
-
- All Implemented Interfaces:
org.apache.bookkeeper.tools.framework.Command<org.apache.bookkeeper.tools.common.BKFlags>
public class InitCommand extends BookieCommand<org.apache.bookkeeper.tools.framework.CliFlags>
A command to initialize new bookie.
-
-
Constructor Summary
Constructors Constructor Description InitCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, org.apache.bookkeeper.tools.framework.CliFlags cmdFlags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
apply
-
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, name, path, setParent, usage
-
-
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, org.apache.bookkeeper.tools.framework.CliFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<org.apache.bookkeeper.tools.framework.CliFlags>
-
-