|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Proc
org.basex.core.Command
org.basex.core.cmd.CreateBackup
public final class CreateBackup
Evaluates the 'backup' command and creates a backup of a database.
Field Summary |
---|
Fields inherited from class org.basex.core.Command |
---|
args, context, in, mprop, out, perf, prop |
Fields inherited from class org.basex.core.Proc |
---|
listen, updating |
Constructor Summary | |
---|---|
CreateBackup(java.lang.String arg)
Default constructor. |
Method Summary | |
---|---|
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. |
protected boolean |
run()
Executes the command and serializes the result (internal call). |
boolean |
supportsProg()
Returns true if this command returns a progress value. |
protected java.lang.String |
tit()
Returns short information on this process. |
Methods inherited from class org.basex.core.Command |
---|
close, databases, error, execute, execute, getOption, getOption, info, info, newData, result, run, run, setInput, setInput, stoppable, toString, updated, updating |
Methods inherited from class org.basex.core.Proc |
---|
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, title |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateBackup(java.lang.String arg)
arg
- optional argumentMethod Detail |
---|
protected boolean run()
Command
run
in class Command
public void databases(LockResult lr)
Proc
lr
- Container for lock result to pass aroundprotected java.lang.String tit()
Proc
tit
in class Proc
public boolean supportsProg()
Command
supportsProg
in class Command
public void build(CmdBuilder cb)
Command
build
in class Command
cb
- command builder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |