|
||||||||||
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.List
public final class List
Evaluates the 'list' command and shows all available databases.
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 | |
---|---|
List()
Default constructor. |
|
List(java.lang.String name)
Default constructor. |
|
List(java.lang.String name,
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. |
static StringList |
list(Context ctx)
Returns a list of all databases. |
protected boolean |
run()
Executes the command and serializes the result (internal call). |
Methods inherited from class org.basex.core.Command |
---|
build, close, databases, error, execute, execute, getOption, getOption, info, info, newData, result, run, run, setInput, setInput, stoppable, supportsProg, 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 List()
public List(java.lang.String name)
name
- database namepublic List(java.lang.String name, java.lang.String path)
name
- database namepath
- database pathMethod Detail |
---|
protected boolean run() throws java.io.IOException
Command
run
in class Command
java.io.IOException
- I/O exceptionpublic void databases(LockResult lr)
Proc
databases
in class Proc
lr
- Container for lock result to pass aroundpublic static StringList list(Context ctx)
ctx
- database context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |