public interface Command
CommandBase, 
Commands, 
JettyAdminServer| Modifier and Type | Method and Description | 
|---|---|
String | 
getDoc()
A string documentating this command (e.g., what it does, any arguments it
 takes). 
 | 
Set<String> | 
getNames()
The set of all names that can be used to refer to this command (e.g.,
 "configuration", "config", and "conf"). 
 | 
String | 
getPrimaryName()
The name that is returned with the command response and that appears in
 the list of all commands. 
 | 
CommandResponse | 
run(ZooKeeperServer zkServer,
   Map<String,String> kwargs)
Run this command. 
 | 
Set<String> getNames()
String getPrimaryName()
String getDoc()
CommandResponse run(ZooKeeperServer zkServer, Map<String,String> kwargs)
zkServer - kwargs - keyword -> argument value mappingCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.