public final class Get extends Command
Constructor and Description |
---|
Get()
Empty constructor.
|
Get(Option<?> option)
Default constructor.
|
Get(String key)
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 String |
get(String name,
Context ctx)
Returns the value of the specified option.
|
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 Get()
public Get(Option<?> option)
option
- option to be foundpublic Get(String key)
key
- key to be foundprotected boolean run() throws IOException
Command
run
in class Command
IOException
- I/O exceptionpublic static String get(String name, Context ctx) throws BaseXException
name
- name of optionctx
- database contextBaseXException
- database exceptionpublic void databases(LockResult lr)
Proc
Copyright © 2005–2015 BaseX Team. All rights reserved.