salto.batch.linker
Class AndParentToAllLaunchChildsStrategy

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

public class AndParentToAllLaunchChildsStrategy
extends ParentToAllChildsLinkingStrategy

AND startegy for Meta Starter.
A Batch is triggered if all sons have been triggered.
Example :

This strategy launches batchesToExecute when :
T(L1) and T(L2) and T(L3) and T'(L1) and T'(L2) have triggered.

Example: A Batch that compilates data in a file from data compiled by 2 Batchs launches on different pools

Author:
Philippe Mouawad

Constructor Summary
AndParentToAllLaunchChildsStrategy(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

AndParentToAllLaunchChildsStrategy

public AndParentToAllLaunchChildsStrategy(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.