Interface Command

All Known Implementing Classes:
AbstractCommand, AbstractOSCommand, AbstractSshClientCommand, AbstractUUIDCommand, Alias, CallbackCommand, CallbackMount, Callbacks, CallbackShell, Cat, Catch, Cd, Cd, Chgrp, Chmod, Chown, Clear, Connections, Cp, Date, Disks, Echo, Env, Exit, Follow, Get, Help, Input, Kill, Lcd, Lpwd, Ls, Ls, Mem, Mkdir, Mkdir, Msh, Mv, Nano, Put, Pwd, Pwd, Quit, Refresh, Rename, Rm, Rm, Rmdir, RootShell, SftpClientCommand, SftpCommand, Shell, ShellCommand, ShellCommandWithOptions, ShowLastError, Shutdown, Sleep, Source, SshClientCommand, ThreadDump, Threads, Unalias

public interface Command
  • Field Details

  • Method Details

    • run

      void run(String[] args, VirtualConsole console) throws IOException, com.sshtools.common.permissions.PermissionDeniedException, UsageException
      Throws:
      IOException
      com.sshtools.common.permissions.PermissionDeniedException
      UsageException
    • getDescription

      String getDescription()
    • getSubsystem

      String getSubsystem()
    • getCommandName

      String getCommandName()
    • getUsage

      String getUsage()
    • isBuiltIn

      boolean isBuiltIn()
    • getExitCode

      int getExitCode()
    • isHidden

      boolean isHidden()
    • complete

      void complete(org.jline.reader.LineReader reader, org.jline.reader.ParsedLine line, List<org.jline.reader.Candidate> candidates)