Class 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>
    • Method Detail

      • doRun

        public void doRun()
        Called periodically by the GerritTriggerTimer according to its schedule.
        Specified by:
        doRun in class SafeTimerTask
      • getGerritTrigger

        @CheckForNull
        public GerritTrigger getGerritTrigger()
        The GerritTrigger that created this timerTask.
        Returns:
        the trigger.