|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsalto.batch.apiconsole.lanceur.builder.BatchLaunchManagerWrapper
public class BatchLaunchManagerWrapper
This class must be used in batches when access to BatchLaunchManager is required instead of using BatchLaunchManager directly.
| Method Summary | |
|---|---|
boolean |
disableBatchesOfLaunchFamily(java.lang.String launchFamilyName)
This method disbles all launches of the same family |
boolean |
disableLaunch(java.lang.String fullLaunchName)
This method disables a launch and the actual state is stored |
boolean |
disableLaunch(java.lang.String fullLaunchName,
boolean useDisableMemento)
This method disables a launch and the actual state is stored if needed |
boolean |
enableBatchesOfLaunchFamily(java.lang.String launchFamilyName)
This method enables all launches of the same family |
boolean |
enableLaunch(java.lang.String fullLaunchName)
This method enables a launch |
static BatchLaunchManagerWrapper |
getInstance()
|
boolean |
restoreLaunchFamilyFromDB(java.lang.String fullLaunchName)
This method reloads configuration from database for each launch of the family and the generic batch associated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BatchLaunchManagerWrapper getInstance()
public final boolean disableBatchesOfLaunchFamily(java.lang.String launchFamilyName)
throws SchedulerException,
BatchException,
TechnicalException
launchFamilyName - the name of the launch family
SchedulerException
BatchException
TechnicalException
public final boolean enableBatchesOfLaunchFamily(java.lang.String launchFamilyName)
throws SchedulerException,
BatchException,
TechnicalException
launchFamilyName - the name of the launch family
SchedulerException
BatchException
TechnicalException
public final boolean disableLaunch(java.lang.String fullLaunchName)
throws SchedulerException,
BatchException,
TechnicalException
fullLaunchName - the full name of the launch
SchedulerException
BatchException
TechnicalException
public final boolean disableLaunch(java.lang.String fullLaunchName,
boolean useDisableMemento)
throws SchedulerException,
BatchException,
TechnicalException
fullLaunchName - the full name of the launchuseDisableMemento - if true, we store/restore the actual/previous state in/from BLH_DISABLED_BKP column
SchedulerException
BatchException
TechnicalException
public final boolean enableLaunch(java.lang.String fullLaunchName)
throws SchedulerException,
BatchException,
TechnicalException
fullLaunchName - the full name of the launch
SchedulerException
BatchException
TechnicalException
public final boolean restoreLaunchFamilyFromDB(java.lang.String fullLaunchName)
throws SchedulerException,
BatchException,
TechnicalException
fullLaunchName - the full name of the launch
SchedulerException
BatchException
TechnicalException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||