public class InteractiveCommandSource extends CommandSource
err
Constructor and Description |
---|
InteractiveCommandSource(Worker worker) |
InteractiveCommandSource(Worker worker,
ConsoleReader cr) |
InteractiveCommandSource(Worker worker,
ConsoleReader cr,
java.io.PrintStream out) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getNextCommand(java.util.List<java.lang.String> buf) |
protected void |
handleSyntaxError() |
boolean |
reportError(java.lang.String message)
Reports an error back to the user.
|
reportError
public InteractiveCommandSource(Worker worker) throws java.io.IOException
java.io.IOException
public InteractiveCommandSource(Worker worker, ConsoleReader cr)
public InteractiveCommandSource(Worker worker, ConsoleReader cr, java.io.PrintStream out)
public java.util.List<java.lang.String> getNextCommand(java.util.List<java.lang.String> buf)
protected void handleSyntaxError() throws java.io.IOException
java.io.IOException
public boolean reportError(java.lang.String message)
CommandSource