Class BlockoutManagerUtil
- java.lang.Object
-
- org.pentaho.platform.scheduler2.blockout.BlockoutManagerUtil
-
public class BlockoutManagerUtil extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlockoutManagerUtil.TIME
Standard Units of Time
-
Constructor Summary
Constructors Constructor Description BlockoutManagerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Date>
getFireTimes(IJobTrigger jobTrigger, IScheduler scheduler)
static boolean
isComplexTrigger(IJobTrigger jobTrigger)
static boolean
isPartiallyBlocked(IJobTrigger scheduleJobTrigger, List<IJobTrigger> blockOutJobTriggers, IScheduler scheduler)
static boolean
shouldFireNow(List<IJobTrigger> blockOutJobTriggers, IScheduler scheduler)
static boolean
willBlockSchedule(IJobTrigger scheduleTrigger, IJobTrigger blockOutJobTrigger, IScheduler scheduler)
static boolean
willFire(IJobTrigger jobTrigger, List<IJobTrigger> blockOutTriggers, IScheduler scheduler)
-
-
-
Method Detail
-
willFire
public static boolean willFire(IJobTrigger jobTrigger, List<IJobTrigger> blockOutTriggers, IScheduler scheduler)
-
willBlockSchedule
public static boolean willBlockSchedule(IJobTrigger scheduleTrigger, IJobTrigger blockOutJobTrigger, IScheduler scheduler)
-
isComplexTrigger
public static boolean isComplexTrigger(IJobTrigger jobTrigger)
-
getFireTimes
public static List<Date> getFireTimes(IJobTrigger jobTrigger, IScheduler scheduler)
-
shouldFireNow
public static boolean shouldFireNow(List<IJobTrigger> blockOutJobTriggers, IScheduler scheduler)
-
isPartiallyBlocked
public static boolean isPartiallyBlocked(IJobTrigger scheduleJobTrigger, List<IJobTrigger> blockOutJobTriggers, IScheduler scheduler)
-
-