Class GerritTriggerTimerTask
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerTimerTask
- All Implemented Interfaces:
Runnable
TimerTasks that are created from a GerritTrigger and periodically calls
GerritTrigger.updateTriggerConfigURL().
- Author:
- Fredrik Abrahamson <fredrik.abrahamson@sonymobile.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable -
Method Summary
Modifier and TypeMethodDescriptionbooleancancel()voiddoRun()Called periodically by the GerritTriggerTimer according to its schedule.TheGerritTriggerthat created this timerTask.toString()Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, runMethods inherited from class java.util.TimerTask
scheduledExecutionTime
-
Method Details
-
doRun
public void doRun()Called periodically by the GerritTriggerTimer according to its schedule.- Specified by:
doRunin classSafeTimerTask
-
cancel
public boolean cancel() -
toString
-
getGerritTrigger
TheGerritTriggerthat created this timerTask.- Returns:
- the trigger.
-