Package com.iizigo
Class StartupJobRescheduler
java.lang.Object
com.iizigo.StartupJobRescheduler
- All Implemented Interfaces:
- IJobChangeListener
Class that is used to reschedule all manual or automatic build jobs except the ones IIZI requires. This is used during project loading and workbench start-up.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- aboutToRun- (IJobChangeEvent event) Reschedules all jobs that are not listed as exceptions.- void- addExceptionJob- (Job job) Adds a job as exception to what is allowed to run without being rescheduled.- void- awake- (IJobChangeEvent event) - void- done- (IJobChangeEvent event) Called when a job is done (cancel, failure or success).- static StartupJobReschedulerGets the started instance.- void- running- (IJobChangeEvent event) - void- scheduled- (IJobChangeEvent event) - void- sleeping- (IJobChangeEvent event) 
- Method Details- getRunnningInstanceGets the started instance.- Returns:
- The started instance of the rescheduler, or null for none.
 
- addExceptionJobAdds a job as exception to what is allowed to run without being rescheduled.- Parameters:
- job- The job to allow even if the rescheduler is active.
 
- aboutToRunReschedules all jobs that are not listed as exceptions.- Specified by:
- aboutToRunin interface- IJobChangeListener
- Parameters:
- event- The job change event.
 
- doneCalled when a job is done (cancel, failure or success).- Specified by:
- donein interface- IJobChangeListener
- Parameters:
- event- The job change event.
 
- awake- Specified by:
- awakein interface- IJobChangeListener
 
- running- Specified by:
- runningin interface- IJobChangeListener
 
- scheduled- Specified by:
- scheduledin interface- IJobChangeListener
 
- sleeping- Specified by:
- sleepingin interface- IJobChangeListener