Class GerritTriggerTimerTask
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerTimerTask
-
- All Implemented Interfaces:
Runnable
public class GerritTriggerTimerTask extends SafeTimerTask
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancel()
void
doRun()
Called periodically by the GerritTriggerTimer according to its schedule.GerritTrigger
getGerritTrigger()
TheGerritTrigger
that created this timerTask.String
toString()
-
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
-
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
-
-
-
-
Method Detail
-
doRun
public void doRun()
Called periodically by the GerritTriggerTimer according to its schedule.- Specified by:
doRun
in classSafeTimerTask
-
getGerritTrigger
@CheckForNull public GerritTrigger getGerritTrigger()
TheGerritTrigger
that created this timerTask.- Returns:
- the trigger.
-
-