salto.batch.lanceur.builder
Class DBBatchStartParametersComputer

java.lang.Object
  extended by AbstractBatchStartParametersComputer
      extended by salto.batch.lanceur.builder.DBBatchStartParametersComputer

public class DBBatchStartParametersComputer
extends AbstractBatchStartParametersComputer

Used to compute launches of a batch where launches are stored in Database.

See Also:
Philippe Mouawad

Constructor Summary
DBBatchStartParametersComputer(java.lang.String batchGroup, java.lang.String batchName)
           
DBBatchStartParametersComputer(java.lang.String poolName, java.lang.String batchGroup, java.lang.String batchName)
          Deprecated. poolname parameter is not used
 
Method Summary
 void deleteLaunch(IBatchLaunch theBatchLaunch)
          Delete theBatchLaunch from DB
 java.lang.String getBatchGroup()
           
 java.lang.String getBatchName()
           
 java.lang.String getPoolName()
          Deprecated. always return null
 IBatchLaunch[] readLaunches()
           
 void saveLaunch(IBatchLaunch theBatchLaunch)
           
 void saveLaunches(java.lang.String group, java.lang.String batch, IBatchLaunch[] batchLaunchs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBBatchStartParametersComputer

public DBBatchStartParametersComputer(java.lang.String batchGroup,
                                      java.lang.String batchName)
Parameters:
batchGroup - Group du batch
batchName - Nom du batch

DBBatchStartParametersComputer

public DBBatchStartParametersComputer(java.lang.String poolName,
                                      java.lang.String batchGroup,
                                      java.lang.String batchName)
Deprecated. poolname parameter is not used

Parameters:
poolName - Nom du pool
batchGroup - Group du batch
batchName - Nom du batch
Method Detail

readLaunches

public IBatchLaunch[] readLaunches()
                            throws BatchInitException
Throws:
BatchInitException
See Also:
salto.batch.lanceur.builder.IBatchStartParametersComputer#readLaunches()

saveLaunches

public void saveLaunches(java.lang.String group,
                         java.lang.String batch,
                         IBatchLaunch[] batchLaunchs)
                  throws BatchException
Throws:
BatchException
See Also:
salto.batch.lanceur.builder.IBatchStartParametersComputer#saveLaunches(salto.batch.lanceur.builder.IBatchLaunch[])

saveLaunch

public void saveLaunch(IBatchLaunch theBatchLaunch)
                throws BatchException
Throws:
BatchException
See Also:
salto.batch.lanceur.builder.IBatchStartParametersComputer#saveLaunch(salto.batch.lanceur.builder.IBatchLaunch)

getBatchGroup

public java.lang.String getBatchGroup()
Returns:
Returns the batchGroup.

getBatchName

public java.lang.String getBatchName()
Returns:
Returns the batchName.

getPoolName

public java.lang.String getPoolName()
Deprecated. always return null

Returns:
Returns the poolName.

deleteLaunch

public void deleteLaunch(IBatchLaunch theBatchLaunch)
                  throws BatchException
Delete theBatchLaunch from DB

Parameters:
theBatchLaunch - IBatchLaunch
Throws:
BatchException


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