|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
public abstract class GerritEventLifecycle
Adaptor class for handling event listeners for the lifecycle of a GerritEvent.
| Constructor Summary | |
|---|---|
GerritEventLifecycle()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GerritEventLifecycle()
| Method Detail |
|---|
public void addListener(GerritEventLifecycleListener listener)
listener - the listener to add.public boolean removeListener(GerritEventLifecycleListener listener)
listener - the listener to remove.
List.remove(java.lang.Object)public void fireTriggerScanStarting()
GerritEventLifecycleListener.triggerScanStarting(PatchsetCreated).
public void fireTriggerScanDone()
GerritEventLifecycleListener.triggerScanDone(PatchsetCreated).
public void fireProjectTriggered(hudson.model.AbstractProject project)
GerritEventLifecycleListener.projectTriggered(PatchsetCreated, AbstractProject).
project - the project that is triggered.public void fireBuildStarted(hudson.model.AbstractBuild build)
GerritEventLifecycleListener.buildStarted(PatchsetCreated, AbstractBuild).
build - the build that has started.public void fireBuildCompleted(hudson.model.AbstractBuild build)
GerritEventLifecycleListener.buildCompleted(PatchsetCreated, AbstractBuild).
build - the build that is completed.public void fireAllBuildsCompleted()
GerritEventLifecycleListener.allBuildsCompleted(PatchsetCreated).
protected List<GerritEventLifecycleListener> getListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||