|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTriggerTimer
public final class GerritTriggerTimer
Manages the timer that is used for each GerritTrigger TimerTask that is active.
Method Summary | |
---|---|
static GerritTriggerTimer |
getInstance()
Returns the instance, and creates it first if needed. |
void |
schedule(TimerTask timerTask,
String serverName)
Schedule a TimerTask according to the two constants above. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GerritTriggerTimer getInstance()
public void schedule(TimerTask timerTask, String serverName)
timerTask
- the subclass of TimerTask to be scheduledserverName
- the name of the Gerrit server.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |