Package org.apache.zookeeper.cli
Class CommandFactory
java.lang.Object
org.apache.zookeeper.cli.CommandFactory
Factory class for creating instances of
CliCommand
.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CliCommand
getInstance
(CommandFactory.Command command) Creates a newCliCommand
instance.
-
Constructor Details
-
CommandFactory
public CommandFactory()
-
-
Method Details
-
getInstance
Creates a newCliCommand
instance.- Parameters:
command
- theCommandFactory.Command
to create a new instance of- Returns:
- the new
CliCommand
instance
-