org.crsh.shell.impl.command
Interface ShellSession
- All Superinterfaces:
- Map<String,Object>
- All Known Implementing Classes:
- CRaSHSession
public interface ShellSession
- extends Map<String,Object>
- Author:
- Julien Viet
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
getContext
PluginContext getContext()
getCommands
Iterable<Map.Entry<String,String>> getCommands()
getCommand
Command<?> getCommand(String name)
throws CommandException
- Throws:
CommandException
getRepl
Repl getRepl()
- Returns:
- the current repl of this session
setRepl
void setRepl(Repl repl)
throws NullPointerException
- Set the current repl of this session.
- Parameters:
repl
- the new repl
- Throws:
NullPointerException
- if the repl is null
Copyright © 2015 eXo Platform SAS. All Rights Reserved.