public abstract class AbstractCmd extends Object implements MBClientCmd
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
help |
protected static PrintStream |
OUT_STREAM |
protected String |
rootCommand |
protected com.beust.jcommander.JCommander |
selfJCommander
Holds the reference of the JCommander runtime instance associated with this command instance.
|
protected boolean |
verbose |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCmd(String rootCommand)
Constructor, set the root command when creation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
processHelpLogs()
Print help messages of the concrete command object.
|
void |
setSelfJCommander(com.beust.jcommander.JCommander selfJCommander) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendUsage, executeprotected static final PrintStream OUT_STREAM
protected String rootCommand
protected com.beust.jcommander.JCommander selfJCommander
protected boolean help
protected boolean verbose
protected AbstractCmd(String rootCommand)
rootCommand - root command loaded from the script.public void setSelfJCommander(com.beust.jcommander.JCommander selfJCommander)
setSelfJCommander in interface MBClientCmdprotected void processHelpLogs()
Copyright © 2018 WSO2. All rights reserved.