state:or

Description

A job who's return state is a logical OR of the child states.

Properties

NameDescriptionRequired
name A name, can be any text. No.

Elements

jobs

Required: No, but pointless if missing.

The child jobs.

Example

COMPLETE if either files exist, INCOMPLETE otherwise.

 <or:and xmlns:state="http://rgordon.co.uk/oddjob/state">
  <jobs>
   <exists file="doesntexist1">/>
   <exists file="doesntexist2">/>
  </jobs>
 </or:and>
 


(c) Rob Gordon 2005 - 2009