public final class Add extends ACreate
| Constructor and Description |
|---|
Add(java.lang.String path)
Constructor, specifying a target path.
|
Add(java.lang.String path,
java.lang.String input)
Constructor, specifying a target path and an input.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandBuilder cb)
Builds a string representation from the command.
|
protected double |
prog()
Returns a progress value (0 - 1).
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
protected java.lang.String |
tit()
Returns short information on this process.
|
build, cache, create, drop, newData, pinned, startUpdate, stoppable, stopUpdate, supportsProgclose, error, execute, execute, getOption, getOption, info, info, pinned, result, run, setInput, setInput, toString, updated, updatingpublic Add(java.lang.String path)
path - target path, optionally terminated by a new file namepublic Add(java.lang.String path, java.lang.String input)
path - target path, optionally terminated by a new file name.
If null, the name of the input will be set as path.input - input file or XML stringprotected boolean run()
Commandpublic void build(CommandBuilder cb)
Commandprotected java.lang.String tit()
Progress