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, pushContext
protected BaseCommand()
protected final String readLine(String msg) throws IOException, InterruptedException
IOException
InterruptedException
protected final String readLine(String msg, boolean echo) throws IOException, InterruptedException
IOException
InterruptedException
public final String getUnmatched()
public final void execute(String s) throws IOException, CommandException
IOException
CommandException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.