public final class List extends Command
Constructor and Description |
---|
List()
Default constructor.
|
List(String name)
Default constructor.
|
List(String name,
String path)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
databases(LockResult lr)
Adds the names of the databases that may be touched by the process.
|
static StringList |
list(StaticOptions sopts)
Returns a list of all databases.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
build, 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 List()
public List(String name)
name
- database nameprotected boolean run() throws IOException
Command
run
in class Command
IOException
- I/O exceptionpublic void databases(LockResult lr)
Proc
public static StringList list(StaticOptions sopts)
sopts
- static optionsCopyright © 2005–2015 BaseX Team. All rights reserved.