Class Open

All Implemented Interfaces:
Command, Help

public class Open extends ConsoleCommand
Open command
Author:
Dale Visser
  • Constructor Details Link icon

  • Method Details Link icon

    • getName Link icon

      public String getName()
      Description copied from interface: Help
      Get the name of the command
      Returns:
      string
    • getHelpShort Link icon

      public String getHelpShort()
      Description copied from class: ConsoleCommand
      Get short description, small enough to fit on one console row
      Specified by:
      getHelpShort in interface Help
      Overrides:
      getHelpShort in class ConsoleCommand
      Returns:
      help string
    • getHelpLong Link icon

      public String getHelpLong()
      Description copied from class: ConsoleCommand
      Get long description
      Specified by:
      getHelpLong in interface Help
      Overrides:
      getHelpLong in class ConsoleCommand
      Returns:
      string, can be multiple lines
    • execute Link icon

      public void execute(String... tokens)
      Description copied from interface: Command
      Execute the given parameters.
      Specified by:
      execute in interface Command
      Overrides:
      execute in class ConsoleCommand
      Parameters:
      tokens - parameters typed by user
    • openRepository Link icon

      public void openRepository(String repoID)
      Open a repository
      Parameters:
      repoID - repository ID