Interface IBlockoutManager
public interface IBlockoutManager
- Author:
- wseyler Interface for managing Block-outs (time when schedules should NOT be executed)
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPartiallyBlocked
(IJobTrigger scheduleJobTrigger) boolean
boolean
willFire
(IJobTrigger scheduleJobTrigger)
-
Field Details
-
DURATION_PARAM
- See Also:
-
TIME_ZONE_PARAM
- See Also:
-
BLOCK_OUT_JOB_NAME
- See Also:
-
SCHEDULED_FIRE_TIME
- See Also:
-
-
Method Details
-
getBlockOutJobs
- Returns:
- a list of jobs essentially should be used instead of getBlockOuts which is deprecated
-
willFire
- Parameters:
scheduleJobTrigger
-IJobTrigger
- Returns:
- whether the
IJobTrigger
will fire, at least once, given the current list ofIJobTrigger
s - Throws:
SchedulerException
-
shouldFireNow
boolean shouldFireNow()- Returns:
- true if there are no current blockOuts active at the moment this method is called
- Throws:
SchedulerException
-
isPartiallyBlocked
- Parameters:
scheduleJobTrigger
-IJobTrigger
- Returns:
- whether the
IJobTrigger
is blocked, at least partially, by at least a singleIJobTrigger
, provided the list of registeredIJobTrigger
s - Throws:
SchedulerException
-