Class OrState

All Implemented Interfaces:
Serializable, Runnable, ArooaContextAware, ArooaSessionAware, Forceable, PropertyChangeNotifier, Iconic, LogEnabled, Resettable, Stateful, Stoppable, Structural

public class OrState extends StateReflector
Author:
Rob Gordon
See Also:

Description

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

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>
 
  • Constructor Details

    • OrState

      public OrState()
  • Method Details