org.hudsonci.maven.plugin.dependencymonitor
Class DependencyNotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
org.hudsonci.maven.plugin.dependencymonitor.DependencyNotifier
- All Implemented Interfaces:
- ExtensionPoint, MatrixAggregatable, DependecyDeclarer, Describable<Publisher>, BuildStep
public class DependencyNotifier
- extends Notifier
- implements DependecyDeclarer, MatrixAggregatable
Notify the DependencyMonitor after a build has completed about produced and consumed Maven artifacts.
Projects which notify are artifact producers.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyNotifier
@DataBoundConstructor
public DependencyNotifier(boolean notifyIfUnstable)
getDescriptor
public DependencyNotifier.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface Describable<Publisher>- Overrides:
getDescriptor in class Notifier
isNotifyIfUnstable
@JellyAccessible
public boolean isNotifyIfUnstable()
getResultThreshold
public Result getResultThreshold()
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService in interface BuildStep
perform
public boolean perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform in interface BuildStep- Overrides:
perform in class BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException- See Also:
BuildArtifactsUpdater.onCompleted(hudson.model.AbstractBuild, hudson.model.TaskListener)
createAggregator
public MatrixAggregator createAggregator(MatrixBuild build,
Launcher launcher,
BuildListener listener)
- Specified by:
createAggregator in interface MatrixAggregatable
buildDependencyGraph
public void buildDependencyGraph(AbstractProject project,
DependencyGraph graph)
- Delegate to the
DependencyMonitor to build the graph of projects which depend on the given project.
- Specified by:
buildDependencyGraph in interface DependecyDeclarer
Copyright © 2004-2011 Hudson. All Rights Reserved.