public final class List extends Command
| Constructor and Description |
|---|
List()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static StringList |
list(Context ctx)
Returns a list of all databases.
|
static StringList |
list(Context ctx,
boolean backups)
Returns a list of all databases and (optionally) backed up databases.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
build, close, error, execute, execute, getOption, getOption, info, info, newData, pinned, result, run, setInput, setInput, stoppable, supportsProg, toString, updated, updatingprotected boolean run()
throws java.io.IOException
Commandpublic static StringList list(Context ctx)
ctx - database contextpublic static StringList list(Context ctx, boolean backups)
ctx - database contextbackups - include backups in the list