CommandFactory (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.cli

## Class CommandFactory

- java.lang.Object
- - org.apache.zookeeper.cli.CommandFactory

-     public class CommandFactory
      extends Object

  Factory class for creating instances of `CliCommand`.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CommandFactory.Command` All Cli Commands.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CommandFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CliCommand` | `getInstance(CommandFactory.Command command)` Creates a new `CliCommand` instance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CommandFactory

          public CommandFactory()

  - ### Method Detail

    - #### getInstance

          public static CliCommand getInstance(CommandFactory.Command command)

      Creates a new `CliCommand` instance.
      Parameters:
        `command` - the `CommandFactory.Command` to create a new instance of
      Returns:
        the new `CliCommand` instance

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.