Class ShowBackups


public final class ShowBackups extends Command
Evaluates the 'show backups' command and shows available backups.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • ShowBackups

      public ShowBackups()
  • Method Details

    • run

      protected boolean run() throws IOException
      Description copied from class: Command
      Executes the command and serializes the result (internal call).
      Specified by:
      run in class Command
      Returns:
      success of operation
      Throws:
      IOException - I/O exception
    • updating

      public boolean updating(Context ctx)
      Description copied from class: Command
      Checks if the command performs updates/write operations.
      Overrides:
      updating in class Command
      Parameters:
      ctx - database context
      Returns:
      result of check
    • build

      public void build(CmdBuilder cb)
      Description copied from class: Command
      Builds a string representation from the command. This string must be correctly built, as commands are sent to the server as strings.
      Overrides:
      build in class Command
      Parameters:
      cb - command builder
    • addLocks

      public void addLocks()
      Description copied from class: Job
      Adds the strings (databases, special identifiers) for which locks need to be acquired.