<restart-operation>
Purpose/Function
Re-execute a failed or interrupted operation.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
cleanup |
|
true |
delete all caches upon termination of the operation |
copyCache |
|
|
path to copy cache for the operation |
iSchemeOperation |
|
(required) |
id for the operation (see below) |
listCache |
|
|
path to list cache for the operation |
retries |
|
1 |
number of times to restart if operation fails |
Listener control attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
event |
|
true |
if listener is a |
log4j |
|
false |
if listener is a |
stdout |
|
false |
if listener is a |
Listener elements
TAG |
TYPE |
COUNT |
DESCRIPTION |
---|---|---|---|
|
|
0:N |
generic tag, must be used in conjuction with xmlns:absoluteTag namespace |
|
|
0:N |
built-in type; see listeners |
|
|
0:N |
built-in type; see listeners |
|
|
0:N |
built-in type; see listeners |
|
|
0:N |
built-in type; see listeners |
|
|
0:N |
built-in type; see listeners |
ReturnValues
DEFAULT NAME |
TYPE |
---|---|
restart-operation |
|
NOTES
- Cleanup defaults to true, so caches that are used will be deleted unless otherwise indicated. The operation is returned only if cleanup is false.
- ISchemeOperation must be one of the following:
ISCHEME OPERATION |
MODE |
---|---|
touch |
creates a |
scanned-touch |
creates a |
mkdir |
creates a |
delete |
creates a |
scanned-delete |
creates a |
copy |
creates a |
scanned-copy |
creates a |
Examples
<ogrescript> <restart-operation iSchemeOperation="scanned-copy" listCache="/tmp/trebuchet/arossi/lcache_0842039812345.933" copyCache="/tmp/trebuchet/arossi/ccache_0842039812345.933" retries="3"/> </ogrescript>