Class Test


public final class Test extends Command
Evaluates the 'test' command and processes an input file.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • Test

      public Test(String path)
      Default constructor.
      Parameters:
      path - input path
  • Method Details

    • run

      protected boolean run()
      Description copied from class: Command
      Executes the command and serializes the result (internal call).
      Specified by:
      run in class Command
      Returns:
      success of operation
    • 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
    • addLocks

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