state:and

Description

A job who's return state is a logical AND 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 both files exist, INCOMPLETE otherwise.

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


(c) Rob Gordon 2005 - 2009