com.base2services.jenkins
Class SqsHookCleaner
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
com.base2services.jenkins.SqsHookCleaner
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
@Extension
public class SqsHookCleaner
- extends hudson.model.PeriodicWork
Removes post-commit hooks from repositories that we no longer care.
This runs periodically in a delayed fashion to avoid hitting GitHub too often.
- Author:
- Kohsuke Kawaguchi, aaronwalker
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
| Methods inherited from class hudson.model.PeriodicWork |
all, getInitialDelay |
| Methods inherited from class hudson.triggers.SafeTimerTask |
run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqsHookCleaner
public SqsHookCleaner()
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod in class hudson.model.PeriodicWork
doRun
protected void doRun()
throws Exception
- Specified by:
doRun in class hudson.triggers.SafeTimerTask
- Throws:
Exception
get
public static SqsHookCleaner get()
Copyright © 2004-2013. All Rights Reserved.