com.base2services.jenkins
Class SqsQueueHandler
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
com.base2services.jenkins.SqsQueueHandler
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
@Extension
public class SqsQueueHandler
- extends hudson.model.PeriodicWork
Receives a message from SQS and triggers any builds
- Author:
- 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 |
SqsQueueHandler
public SqsQueueHandler()
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 SqsQueueHandler get()
Copyright © 2004-2013. All Rights Reserved.