Interface AdminCommands.AdminCommand

All Known Implementing Classes:
ZkCli
Enclosing class:
AdminCommands

public static interface AdminCommands.AdminCommand
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Print a help message to out.
    void
    run(String[] args, Map<String,Object> conf, String command)
    Run the command, this will be called at most once.
  • Method Details

    • run

      void run(String[] args, Map<String,Object> conf, String command) throws Exception
      Run the command, this will be called at most once.
      Throws:
      Exception
    • printCliHelp

      void printCliHelp(String command, PrintStream out)
      Print a help message to out. typically this should be in the form of. command arguments: description of command argument - description