Package dev.enola.chat
Class ExecAgent
java.lang.Object
dev.enola.chat.AbstractAgent
dev.enola.chat.ExecAgent
-
Field Summary
Fields inherited from class dev.enola.chat.AbstractAgent
pbx, subject, tbf -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.enola.chat.AbstractAgent
handle, handle, reply, subject
-
Constructor Details
-
ExecAgent
public ExecAgent(Switchboard pbx, Runner runner, Map<String, File> executablesMap, String forceExecPrefix) Constructor.- Parameters:
pbx- the PBXrunner- the exec runnerexecutablesMap- the executables on PATHforceExecPrefix- the prefix to force execution of a command, e.g. "$ " or "!", or whatever. (Note that JLine handles "!" as history expansion, so that needs to disabled.)
-
ExecAgent
-
-
Method Details
-
accept
-