org.hudsonci.plugins.snapshotmonitor.internal
Class WatchedDependenciesUpdater

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
      extended by org.hudsonci.plugins.snapshotmonitor.internal.WatchedDependenciesUpdater
All Implemented Interfaces:
hudson.ExtensionPoint

@Named
@Singleton
public class WatchedDependenciesUpdater
extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild>

Hook to update watched dependencies once a build has completed.

Since:
2.1.0
Author:
Jason Dillon

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
 
Constructor Summary
WatchedDependenciesUpdater(SnapshotMonitor snapshotMonitor, ArtifactsExtractor extractor, ProjectArtifactCache projectArtifactCache)
           
 
Method Summary
 void onCompleted(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, getTargetType, onDeleted, onFinalized, onStarted, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchedDependenciesUpdater

@Inject
public WatchedDependenciesUpdater(SnapshotMonitor snapshotMonitor,
                                         ArtifactsExtractor extractor,
                                         ProjectArtifactCache projectArtifactCache)
Method Detail

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-2012 Hudson. All Rights Reserved.