salto.batch.linker
Class ParentToAllChildsLinkingStrategy
java.lang.Object
LinkingStrategy
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:
- Batch without associated launches and all launches of a batch
- Batch without launches and Batch without associated launches
- All launches of a batch and batch with no launches
- Author:
- Philippe Mouawad
|
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 |
ParentToAllChildsLinkingStrategy
public ParentToAllChildsLinkingStrategy()
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 batchstheNecessaryBatchesAsSet - 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.