org.crsh.command
Class BaseCommand
java.lang.Object
org.crsh.command.AbstractCommand
org.crsh.command.BaseCommand
- Direct Known Subclasses:
- GroovyCommand, help, repl
-
public abstract class BaseCommand
- extends AbstractCommand
-
Field Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public final Logger log
-
Need to find a way to make not that public.
unmatched
public String unmatched
-
The unmatched text, only valid during an invocation - Need to find a way to make not that public.
BaseCommand
protected BaseCommand()
readLine
protected final String readLine(String msg)
throws IOException,
InterruptedException
-
- Throws:
IOException
InterruptedException
readLine
protected final String readLine(String msg,
boolean echo)
throws IOException,
InterruptedException
-
- Throws:
IOException
InterruptedException
getUnmatched
public final String getUnmatched()
-
execute
public final void execute(String s)
throws IOException,
CommandException
-
- Throws:
IOException
CommandException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.