|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.evolveum.midpoint.task.impl.ScheduleEvaluator
public class ScheduleEvaluator
Evaluates schedules.
| Constructor Summary | |
|---|---|
ScheduleEvaluator()
|
|
| Method Summary | |
|---|---|
static long |
determineSleepTime(Task task)
|
static boolean |
shouldRun(ScheduleType schedule,
long lastRunTime)
Determines whether a task is about to run given a schedule, last run time and a current time. |
static boolean |
shouldRun(TaskType taskType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduleEvaluator()
| Method Detail |
|---|
public static boolean shouldRun(TaskType taskType)
public static boolean shouldRun(ScheduleType schedule,
long lastRunTime)
schedule - lastRunTime -
public static long determineSleepTime(Task task)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||