public interface GerritEventLifecycle
Modifier and Type | Method and Description |
---|---|
void |
addListener(GerritEventLifecycleListener listener)
Adds the listener to the list of listeners.
|
void |
fireAllBuildsCompleted()
Fires the event
GerritEventLifecycleListener.allBuildsCompleted(GerritEvent) . |
void |
fireBuildCompleted(hudson.model.AbstractBuild<?,?> build)
|
void |
fireBuildStarted(hudson.model.AbstractBuild<?,?> build)
|
void |
fireProjectTriggered(hudson.model.AbstractProject<?,?> project)
|
void |
fireTriggerScanDone()
Fires the event
GerritEventLifecycleListener.triggerScanDone(GerritEvent) . |
void |
fireTriggerScanStarting()
Fires the event
GerritEventLifecycleListener.triggerScanStarting(GerritEvent) . |
com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent |
getEvent()
The event associated with the lifecycle.
|
boolean |
removeListener(GerritEventLifecycleListener listener)
Removes the listener from the list of listeners.
|
com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent getEvent()
void addListener(GerritEventLifecycleListener listener)
listener
- the listener to add.boolean removeListener(GerritEventLifecycleListener listener)
listener
- the listener to remove.List#remove(java.lang.Object)
void fireTriggerScanStarting()
GerritEventLifecycleListener.triggerScanStarting(GerritEvent)
.void fireTriggerScanDone()
GerritEventLifecycleListener.triggerScanDone(GerritEvent)
.void fireProjectTriggered(hudson.model.AbstractProject<?,?> project)
project
- the project that is triggered.void fireBuildStarted(hudson.model.AbstractBuild<?,?> build)
build
- the build that has started.void fireBuildCompleted(hudson.model.AbstractBuild<?,?> build)
build
- the build that is completed.void fireAllBuildsCompleted()
GerritEventLifecycleListener.allBuildsCompleted(GerritEvent)
.Copyright © 2004-2015. All Rights Reserved.