Class PkgValidator

java.lang.Object
org.basex.query.util.pkg.PkgValidator

public final class PkgValidator extends Object
Package validator. This class executes some essential checks before installing a new package.
Author:
BaseX Team 2005-21, BSD License, Rositsa Shadura
  • Constructor Details

    • PkgValidator

      public PkgValidator(EXPathRepo repo, InputInfo info)
      Constructor.
      Parameters:
      repo - repository context
      info - input info
  • Method Details

    • check

      public void check(Pkg pkg) throws QueryException
      Checks package descriptor and if packages involved in dependencies are already installed.
      Parameters:
      pkg - package
      Throws:
      QueryException - query exception