Interface ForecastJobComp
-
- All Known Subinterfaces:
ForecastJob
public interface ForecastJobComp
This class is only required in order to be able to provide binary compatibility with older releases. You should never access this class directly.
-
-
Field Summary
Fields Modifier and Type Field Description static com.redwood.scheduler.infrastructure.logging.Versions
VERSION_FORECASTJOBCOMP
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Iterator<ForecastJob>
forecast(JobForecastContext forecastContext)
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.forecast(JobForecastContext forecastContext)
instead.Iterator<ForecastJob>
getChildForecastJobs()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getChildForecastJobs()
instead.Iterator<JobDefinitionJobLock>
getJobLocks()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getJobLocks()
instead.Iterator<JobDefinitionRaiseEvent>
getRaiseEvents()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getRaiseEvents()
instead.Iterator<JobDefinitionWaitEvent>
getWaitEvents()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getWaitEvents()
instead.
-
-
-
Method Detail
-
getChildForecastJobs
@Deprecated Iterator<ForecastJob> getChildForecastJobs()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getChildForecastJobs()
instead.Get anIterator
over a collection ofChildForecastJobs
, the collection will be ordered by ChildOrder. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull
. The parent Job of this Job.- Returns:
- An
Iterator
over a collection ofForecastJob
objects , the collection will be ordered by ChildOrder.
-
forecast
@Deprecated Iterator<ForecastJob> forecast(JobForecastContext forecastContext)
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.forecast(JobForecastContext forecastContext)
instead.Create forecast jobs based on the current forecast job. The start and run time determine the forecast period. A forecast job without job group and zero frequency will return an iterator with all job groups that will be forecast in the requested time interval. If job group is filled and frequency is zero, an iterator with the forecast jobs for that job group in the requested time interval is returned.- Parameters:
forecastContext
- An object with the parameters for the forecast.- Returns:
- The iterator over the all forecast jobs.
-
getJobLocks
@Deprecated Iterator<JobDefinitionJobLock> getJobLocks()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getJobLocks()
instead.Return the JobLocks for this forecast job.- Returns:
- The iterator over the JobLocks for this forecast job.
-
getRaiseEvents
@Deprecated Iterator<JobDefinitionRaiseEvent> getRaiseEvents()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getRaiseEvents()
instead.Return the event definitions that are forecasted to be raised.- Returns:
- The iterator over the event definitions that are forecasted to be raised.
-
getWaitEvents
@Deprecated Iterator<JobDefinitionWaitEvent> getWaitEvents()
Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, useForecastJob.getWaitEvents()
instead.Return the event definitions that are forecasted to be waited for.- Returns:
- The iterator over the event definitions that are forecasted to be waited for.
-
-