Class PkgValidator


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

      • PkgValidator

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

      • 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