public final class DropBackup extends Command
Constructor and Description |
---|
DropBackup(String name)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
build(CmdBuilder cb)
Builds a string representation from the command.
|
void |
databases(LockResult lr)
Adds the names of the databases that may be touched by the process.
|
static boolean |
drop(String name,
StaticOptions sopts)
Drops a backup with the specified name.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
close, databases, error, execute, execute, finish, finishUpdate, getOption, getOption, info, info, init, newData, run, run, setInput, setInput, startUpdate, stoppable, supportsProg, toString, toString, updated, updating
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
public DropBackup(String name)
name
- name of databaseprotected boolean run()
Command
public static boolean drop(String name, StaticOptions sopts)
name
- name of backup filesopts
- static optionspublic void build(CmdBuilder cb)
Command
public void databases(LockResult lr)
Proc
Copyright © 2005–2015 BaseX Team. All rights reserved.