Class RepoDelete


  • public final class RepoDelete
    extends Command
    Evaluates the 'repo delete' command.
    Author:
    BaseX Team 2005-24, BSD License, Rositsa Shadura
    • Constructor Detail

      • RepoDelete

        public RepoDelete​(String perm,
                          InputInfo info)
        Constructor.
        Parameters:
        perm - package
        info - input info (can be null)
    • Method Detail

      • 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
      • 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
        Collects lock strings (databases, special identifiers) when registering a query.
        Overrides:
        addLocks in class Job