Package jadex.platform.service.cli
Interface IInternalCliService
-
- All Superinterfaces:
ICliService
- All Known Implementing Classes:
CliAgent
public interface IInternalCliService extends ICliService
Internal cli service interface used by the implementation to redirect calls to remote shells.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>
addAllCommandsFromClassPath(Tuple2<java.lang.String,java.lang.Integer> sessionid)
Add all commands from classpath.IFuture<java.lang.Void>
addCommand(ICliCommand cmd, Tuple2<java.lang.String,java.lang.Integer> sessionid)
Add a specific command.IFuture<java.lang.String>
internalGetShellPrompt(Tuple2<java.lang.String,java.lang.Integer> sessionid)
Get the shell prompt.IFuture<java.lang.Boolean>
removeSubshell(Tuple2<java.lang.String,java.lang.Integer> sessionid)
Remove a subshell.-
Methods inherited from interface jadex.bridge.service.types.cli.ICliService
executeCommand
-
-
-
-
Method Detail
-
internalGetShellPrompt
IFuture<java.lang.String> internalGetShellPrompt(Tuple2<java.lang.String,java.lang.Integer> sessionid)
Get the shell prompt.- Parameters:
sessionid
- The session id.- Returns:
- The prompt.
-
removeSubshell
IFuture<java.lang.Boolean> removeSubshell(Tuple2<java.lang.String,java.lang.Integer> sessionid)
Remove a subshell.- Parameters:
sessionid
- The session id.- Returns:
- True, if could be removed.
-
addAllCommandsFromClassPath
IFuture<java.lang.Void> addAllCommandsFromClassPath(Tuple2<java.lang.String,java.lang.Integer> sessionid)
Add all commands from classpath.- Parameters:
sessionid
- The session id.
-
addCommand
IFuture<java.lang.Void> addCommand(ICliCommand cmd, Tuple2<java.lang.String,java.lang.Integer> sessionid)
Add a specific command.- Parameters:
sessionid
- The session id.
-
-