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(Class<?> desiredType,
Object in) |
CommandSession |
createSession(InputStream in,
PrintStream out,
PrintStream err)
Create a new command session associated with IO streams.
|
Object |
eval(CommandSession session,
Object[] argv) |
Object |
expr(CommandSessionImpl session,
CharSequence expr) |
Set<String> |
getCommands() |
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() |