|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsalto.batch.apiconsole.scheduler.BatchSchedulerWrapper
public class BatchSchedulerWrapper
This class must be used in batches to access to BatchScheduler is required instead of using it directly.
| Method Summary | |
|---|---|
void |
addGlobalBatchListener(java.lang.String barId,
BatchListener batchListener)
Add to Batch scheduler a global job listener |
BatchListener |
getGlobalBatchListener(java.lang.String barId,
java.lang.String batchListenerName)
|
static BatchSchedulerWrapper |
getInstance()
|
java.lang.String[] |
getRunningBatches()
Get the list of actual running batches |
boolean |
removeGlobalBatchListener(java.lang.String barId,
BatchListener listener)
Removes a global job listener from Quartz scheduler |
void |
startBatch(java.lang.String fullBatchName)
Starts a batch immediatly knowing its full name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BatchSchedulerWrapper getInstance()
public final void addGlobalBatchListener(java.lang.String barId,
BatchListener batchListener)
throws BatchException
barId - String BAR IdbatchListener - BatchListener to add
BatchException
public final BatchListener getGlobalBatchListener(java.lang.String barId,
java.lang.String batchListenerName)
throws BatchException
barId - String BAR IdbatchListenerName - BatchListener name
BatchListener
BatchException
public final boolean removeGlobalBatchListener(java.lang.String barId,
BatchListener listener)
throws BatchException
barId - String BAR Idlistener - BatchListener the listener to remove
BatchExceptionpublic final java.lang.String[] getRunningBatches()
public final void startBatch(java.lang.String fullBatchName)
throws BatchException,
SchedulerException
fullBatchName - the full name of the batch (with launch family name if any)
BatchException
SchedulerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||