public interface SshExecuteCommandInterceptor
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.String command,
java.util.List<java.lang.String> arguments)
Check the command and return false if this command must not be run.
|
default java.lang.String |
name() |
boolean accept(java.lang.String command, java.util.List<java.lang.String> arguments)
command
- the commandarguments
- the list of argumentsdefault java.lang.String name()