public abstract class BaseCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
Logger |
log
Need to find a way to make not that public.
|
String |
unmatched
The unmatched text, only valid during an invocation - Need to find a way to make not that public.
|
context, out| Modifier | Constructor and Description |
|---|---|
protected |
BaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String s) |
String |
getUnmatched() |
protected String |
readLine(String msg) |
protected String |
readLine(String msg,
boolean echo) |
peekContext, popContext, pushContextprotected BaseCommand()
protected final String readLine(String msg) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected final String readLine(String msg, boolean echo) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic final String getUnmatched()
public final void execute(String s) throws IOException, CommandException
IOExceptionCommandExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.