Interface SshExecuteCommandInterceptor


public interface SshExecuteCommandInterceptor
  • Method Summary

    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
     
  • Method Details

    • accept

      boolean accept(String command, List<String> arguments)
      Check the command and return false if this command must not be run.
      Parameters:
      command - the command
      arguments - the list of arguments
      Returns:
      whether or not this command with these arguments can be executed
    • name

      default String name()