public abstract class CLICommandBase extends Object implements CLICommand
Constructor and Description |
---|
CLICommandBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
debugError(String msg) |
protected void |
debugError(String msg,
Throwable e) |
protected void |
debugMessage(String msg) |
protected void |
debugWarning(String msg,
Throwable e) |
protected CommandManager |
getCommandManager() |
protected IOutput |
getOutputWriter() |
protected String |
getResourceString(String key) |
protected String |
getStringOptionValue(String optionName) |
protected String |
getStringOptionValue(String optionName,
String defValue) |
void |
handleRequest(RequestContext rc)
Services a Commandline Request.
|
protected boolean |
isOptionSet(String key) |
protected boolean |
isVerbose() |
protected String |
tokenize(Collection collection) |
protected void |
writeLog(int type,
Level level,
String msgid,
String[] msgdata) |
public void handleRequest(RequestContext rc) throws CLIException
handleRequest
in interface CLICommand
rc
- Request Context.CLIException
- if the request cannot serviced.protected boolean isOptionSet(String key)
protected IOutput getOutputWriter()
protected CommandManager getCommandManager()
protected boolean isVerbose()
protected void writeLog(int type, Level level, String msgid, String[] msgdata) throws CLIException
CLIException
protected void debugError(String msg)
protected void debugMessage(String msg)
protected String tokenize(Collection collection)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.