<stop>
Purpose/Function
Stops a presumably stoppable object. The object referred to must implement ncsa.tools.common.Stoppable
.
Attributes
NAME |
TYPE |
DEFAULT VALUE |
DESCRIPTION |
---|---|---|---|
stoppable |
|
|
the stoppable object |
delay |
|
0 |
time in milliseconds to wait before stopping object |
failOnError |
|
|
if stoppable is |
Elements
None.
ReturnValues
None.
Examples
<declare name="worker"> <metadata-worker/><!-- hypothetical Stoppable type --> </declare> ... <!-- worker is presumably running ... --> <stop stoppable="${worker}" delay="$E{60 * 1000}"/> ...