|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.trigger.extensions.GerritTriggeredBuildListener
public abstract class GerritTriggeredBuildListener
A abstract class for listening Gerrit triggered build result.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary | |
---|---|
GerritTriggeredBuildListener()
|
Method Summary | |
---|---|
static hudson.ExtensionList<GerritTriggeredBuildListener> |
all()
Gets all listeners. |
static void |
fireOnCompleted(BuildMemory.MemoryImprint memoryImprint,
String command)
Fire onCompleted. |
static void |
fireOnStarted(GerritTriggeredEvent event,
String command)
Fire onStarted. |
abstract void |
onCompleted(hudson.model.Result result,
GerritTriggeredEvent event,
String command)
Calls when all builds completed. |
abstract void |
onStarted(GerritTriggeredEvent event,
String command)
Calls when build started. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GerritTriggeredBuildListener()
Method Detail |
---|
public abstract void onStarted(GerritTriggeredEvent event, String command)
event
- the event.command
- the command.public abstract void onCompleted(hudson.model.Result result, GerritTriggeredEvent event, String command)
result
- the result.event
- the event.command
- the command.public static void fireOnStarted(GerritTriggeredEvent event, String command)
event
- the eventcommand
- the command.public static void fireOnCompleted(BuildMemory.MemoryImprint memoryImprint, String command)
memoryImprint
- the memoryimprint.command
- the command.public static hudson.ExtensionList<GerritTriggeredBuildListener> all()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |