salto.batch.linker
Class OrParentToAllLaunchChildsStrategy

java.lang.Object
  extended by LinkingStrategy
      extended by salto.batch.linker.ParentToAllChildsLinkingStrategy
          extended by salto.batch.linker.OrParentToAllLaunchChildsStrategy

public class OrParentToAllLaunchChildsStrategy
extends ParentToAllChildsLinkingStrategy

Or strategy for Meta Starter.
A batch is triggered if all children of the batches.
Example :

This strategie triggers batchesToExecute when :
T(L1) OR T(L2) OR T(L3) OR T'(L1) OR T'(L2) have executed.

Author:
Philippe Mouawad

Constructor Summary
OrParentToAllLaunchChildsStrategy(java.lang.String[] theNecessaryBatches, java.lang.String[] theBatchesToExecute)
           
 
Method Summary
 
Methods inherited from class salto.batch.linker.ParentToAllChildsLinkingStrategy
getBatchesToExecute, getNecessaryBatchesAsSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrParentToAllLaunchChildsStrategy

public OrParentToAllLaunchChildsStrategy(java.lang.String[] theNecessaryBatches,
                                         java.lang.String[] theBatchesToExecute)
Parameters:
theNecessaryBatches - String[] batches that are used to decide wether to trigger or not batchesToExecute
theBatchesToExecute - String[] batches to execute if conditions for this strategy are met


Copyright © 2005-2008 Ubik-Ingenierie. All Rights Reserved.