|
||||||||||
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.Check
public final class Check
Evaluates the 'check' command: opens an existing database or creates a new one.
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 | |
---|---|
Check(java.lang.String path)
Default constructor. |
Method Summary | |
---|---|
void |
databases(LockResult lr)
Adds the names of the databases that may be touched by the process. |
boolean |
newData(Context ctx)
Closes an open data reference and returns true if this command will change
the Context.data reference. |
protected boolean |
run()
Executes the command and serializes the result (internal call). |
boolean |
stoppable()
Returns true if this command can be stopped. |
boolean |
supportsProg()
Returns true if this command returns a progress value. |
Methods inherited from class org.basex.core.Command |
---|
build, close, databases, error, execute, execute, getOption, getOption, info, info, result, run, run, setInput, setInput, toString, updated, updating |
Methods inherited from class org.basex.core.Proc |
---|
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Check(java.lang.String path)
path
- file pathMethod Detail |
---|
protected boolean run()
Command
run
in class Command
public boolean supportsProg()
Command
supportsProg
in class Command
public boolean stoppable()
Command
stoppable
in class Command
public void databases(LockResult lr)
Proc
databases
in class Proc
lr
- Container for lock result to pass aroundpublic boolean newData(Context ctx)
Command
true
if this command will change
the Context.data
reference. This method is required by the progress dialog
in the frontend.
newData
in class Command
ctx
- database context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |