public abstract class BaseCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
unmatched
The unmatched text, only valid during an invocation.
|
context, out| Modifier | Constructor and Description |
|---|---|
protected |
BaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.String s) |
java.lang.String |
getUnmatched() |
protected java.lang.String |
readLine(java.lang.String msg) |
protected java.lang.String |
readLine(java.lang.String msg,
boolean echo) |
java.lang.reflect.UndeclaredThrowableException |
toScript(java.lang.Throwable cause) |
peekContext, popContext, pushContextprotected java.lang.String unmatched
protected final java.lang.String readLine(java.lang.String msg)
protected final java.lang.String readLine(java.lang.String msg,
boolean echo)
public final java.lang.String getUnmatched()
public final void execute(java.lang.String s)
throws ScriptException,
java.io.IOException
ScriptExceptionjava.io.IOExceptionpublic java.lang.reflect.UndeclaredThrowableException toScript(java.lang.Throwable cause)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.