org.jenkinsci.plugins.ghprb.upstream
Class GhprbUpstreamStatusListener
java.lang.Object
hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class GhprbUpstreamStatusListener
- extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
- Author:
- Kevin Suwala
This class is responsible for sending the custom status and message on
downstream jobs that have the option configured.
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.listeners.RunListener |
LISTENERS, targetType |
Method Summary |
void |
onCompleted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
void |
onStarted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
|
hudson.model.Environment |
setUpEnvironment(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
Methods inherited from class hudson.model.listeners.RunListener |
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, register, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhprbUpstreamStatusListener
public GhprbUpstreamStatusListener()
setUpEnvironment
public hudson.model.Environment setUpEnvironment(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Overrides:
setUpEnvironment
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
onStarted
public void onStarted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
- Overrides:
onStarted
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
onCompleted
public void onCompleted(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
- Overrides:
onCompleted
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild<?,?>>
Copyright © 2004-2015. All Rights Reserved.