All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addCommand(String scope,
Object target) |
void |
addCommand(String scope,
Object target,
Class<?> functions) |
void |
addCommand(String scope,
Object target,
Class<?> functions,
int ranking) |
void |
addCommand(String scope,
Object target,
String function) |
void |
addCommand(String scope,
Object target,
String function,
int ranking) |
Object |
addConstant(String name,
Object target) |
void |
addConverter(Converter c) |
void |
addListener(CommandSessionListener l) |
Object |
convert(CommandSession session,
Class<?> desiredType,
Object in) |
CommandSessionImpl |
createSession(CommandSession parent) |
CommandSessionImpl |
createSession(InputStream in,
OutputStream out,
OutputStream err)
Create a new command session associated with IO streams.
|
Object |
eval(CommandSession session,
Object[] argv) |
Object |
expr(CommandSessionImpl session,
CharSequence expr) |
protected Function |
getCommand(String name,
Object path) |
Set<String> |
getCommands() |
Object |
invoke(CommandSessionImpl session,
Object target,
String name,
List<Object> args) |
Path |
redirect(CommandSessionImpl session,
Path path,
int mode) |
void |
removeCommand(Object target) |
void |
removeCommand(String scope,
String function) |
void |
removeCommand(String scope,
String function,
Object target) |
Object |
removeConstant(String name) |
void |
removeConverter(Converter c) |
void |
removeListener(CommandSessionListener l) |
void |
stop() |