class Shell extends Object
A simple shell for invoking commands from a command-line.
Type | Name and description |
---|---|
private IO |
io |
private CommandRegistry |
registry |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
execute(String line) |
|
Command |
findCommand(String line, List<String> parsedArgs)
|
|
boolean |
isExecutable(String line) |
|
Object |
leftShift(String line) this should probably be deprecated |
|
Command |
leftShift(Command command) |
|
Command |
register(Command command) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.