Package com.google.gerrit.sshd
Interface SshExecuteCommandInterceptor
-
public interface SshExecuteCommandInterceptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
accept(String command, List<String> arguments)
Check the command and return false if this command must not be run.default String
name()
-
-
-
Method Detail
-
accept
boolean accept(String command, List<String> arguments)
Check the command and return false if this command must not be run.- Parameters:
command
- the commandarguments
- the list of arguments- Returns:
- whether or not this command with these arguments can be executed
-
name
default String name()
-
-