|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.GerritNotifier
public class GerritNotifier
Start position that notifies Gerrit of events.
Constructor Summary | |
---|---|
GerritNotifier(IGerritHudsonTriggerConfig config,
GerritCmdRunner cmdRunner)
Constructor. |
|
GerritNotifier(IGerritHudsonTriggerConfig config,
GerritCmdRunner cmdRunner,
hudson.model.Hudson hudson)
Constructor for testing. |
Method Summary | |
---|---|
void |
buildCompleted(BuildMemory.MemoryImprint memoryImprint,
hudson.model.TaskListener listener)
Generates the build-completed command based on configured templates and build-values and sends it to Gerrit. |
void |
buildStarted(hudson.model.AbstractBuild build,
hudson.model.TaskListener taskListener,
GerritTriggeredEvent event,
BuildsStartedStats stats)
Generates the build-started command based on configured templates and build-values and sends it to Gerrit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GerritNotifier(IGerritHudsonTriggerConfig config, GerritCmdRunner cmdRunner)
config
- the config.cmdRunner
- the command-runner.public GerritNotifier(IGerritHudsonTriggerConfig config, GerritCmdRunner cmdRunner, hudson.model.Hudson hudson)
config
- the config.cmdRunner
- the command-runner.hudson
- the hudson instance.Method Detail |
---|
public void buildStarted(hudson.model.AbstractBuild build, hudson.model.TaskListener taskListener, GerritTriggeredEvent event, BuildsStartedStats stats)
build
- the build.taskListener
- the taskListener.event
- the event.stats
- the stats.public void buildCompleted(BuildMemory.MemoryImprint memoryImprint, hudson.model.TaskListener listener)
memoryImprint
- the memory of all the builds for an event.listener
- the taskListener.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |