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:
- hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.DependecyDeclarer, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class DependencyNotifier
- extends hudson.tasks.Notifier
- implements hudson.model.DependecyDeclarer, hudson.matrix.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
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRun, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
DependencyNotifier
@DataBoundConstructor
public DependencyNotifier(boolean notifyIfUnstable)
getDescriptor
public DependencyNotifier.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptor in class hudson.tasks.Notifier
isNotifyIfUnstable
@JellyAccessible
public boolean isNotifyIfUnstable()
getResultThreshold
public hudson.model.Result getResultThreshold()
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException- See Also:
BuildArtifactsUpdater.onCompleted(hudson.model.AbstractBuild, hudson.model.TaskListener)
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
createAggregator in interface hudson.matrix.MatrixAggregatable
buildDependencyGraph
public void buildDependencyGraph(hudson.model.AbstractProject project,
hudson.model.DependencyGraph graph)
- Delegate to the
DependencyMonitor to build the graph of projects which depend on the given project.
- Specified by:
buildDependencyGraph in interface hudson.model.DependecyDeclarer
Copyright © 2004-2011 Hudson. All Rights Reserved.