salto.batch.linker
Class ParentToAllChildsLinkingStrategy

java.lang.Object
  extended by LinkingStrategy
      extended by salto.batch.linker.ParentToAllChildsLinkingStrategy
Direct Known Subclasses:
AndParentToAllLaunchChildsStrategy, OrParentToAllLaunchChildsStrategy

public abstract class ParentToAllChildsLinkingStrategy
extends LinkingStrategy

Abstract class that factors common code of different strategies ParentToAllChilds,
ie strategies of link between:

Author:
Philippe Mouawad

Constructor Summary
ParentToAllChildsLinkingStrategy()
           
 
Method Summary
protected  java.lang.String[] getBatchesToExecute(java.lang.String[] theBatchesToExecute)
          Calcule l'intégralité des batchs à exécuter (Notamment pour les batchs à plusieurs launchs)
protected  java.util.Set getNecessaryBatchesAsSet(java.util.Set theBatchesStillToExecuteSet, java.util.Set theNecessaryBatchesAsSet)
          Calcule la liste des Batchs nécessaires au déclenchement de batchesToExecute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentToAllChildsLinkingStrategy

public ParentToAllChildsLinkingStrategy()
Method Detail

getNecessaryBatchesAsSet

protected final java.util.Set getNecessaryBatchesAsSet(java.util.Set theBatchesStillToExecuteSet,
                                                       java.util.Set theNecessaryBatchesAsSet)
                                                throws BatchException
Calcule la liste des Batchs nécessaires au déclenchement de batchesToExecute.

Parameters:
theBatchesStillToExecuteSet - Set contenant les batchs restant à exécuter pour déclencher les batchs
theNecessaryBatchesAsSet - Set contenant les batchs à exécuter pour déclencher les batchs, ce Set n'est pas modifié
Returns:
Set contenant nom des Traitements nécessaires (Fils des batchs de necessaryBatchesAsSet)
Throws:
BatchException

getBatchesToExecute

protected final java.lang.String[] getBatchesToExecute(java.lang.String[] theBatchesToExecute)
                                                throws BatchException
Calcule l'intégralité des batchs à exécuter (Notamment pour les batchs à plusieurs launchs)

Parameters:
theBatchesToExecute - String[] contenant batchs à exécuter
Returns:
String[] liste des batchs à exécuter (Prenant en compte les fils (les batchs des launchs))
Throws:
BatchException


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