public abstract class OrientConsole extends OConsoleApplication implements OTableFormatter.OTableOutput
OConsoleApplication.RESULT
args, commandBuffer, COMMENT_PREFIXS, err, exitCommands, helpCommands, in, interactiveMode, methods, ONLINE_HELP_EXT, ONLINE_HELP_URL, out, PARAM_DISABLE_HISTORY, properties, reader, wordSeparator
Constructor and Description |
---|
OrientConsole(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected String |
format(String iValue,
int iMaxSize) |
boolean |
historyEnabled() |
protected void |
onAfter() |
protected void |
onBefore() |
protected void |
onException(Throwable e) |
void |
onMessage(String text,
Object... args) |
protected void |
printApplicationInfo() |
addCommand, error, execute, executeBatch, executeCommands, formatCommandSpecs, getClearName, getCommandLine, getConsoleMethods, getConsoleWidth, getContext, getCorrectMethodName, getMethod, getOnlineHelp, getPrompt, getVerboseLevel, help, isCollectingCommands, isComment, isEchoEnabled, isInteractiveMode, isPropertyEnabled, message, run, setOutput, setReader, syntaxError
public OrientConsole(String[] args)
public void onMessage(String text, Object... args)
onMessage
in interface OTableFormatter.OTableOutput
protected void onException(Throwable e)
onException
in class OConsoleApplication
protected void onBefore()
onBefore
in class OConsoleApplication
protected void printApplicationInfo()
protected void onAfter()
onAfter
in class OConsoleApplication
public boolean historyEnabled()
Copyright © 2009–2020 OrientDB. All rights reserved.