org.hudsonci.plugins.snapshotmonitor.internal
Class SnapshotMonitorImpl

java.lang.Object
  extended by org.hudsonci.plugins.snapshotmonitor.internal.SnapshotMonitorImpl
All Implemented Interfaces:
SnapshotMonitor

@Named
@Singleton
public class SnapshotMonitorImpl
extends Object
implements SnapshotMonitor

Default SnapshotMonitor implementation.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
SnapshotMonitorImpl(org.hudsonci.service.SystemService system, SnapshotMonitorPlugin plugin, javax.inject.Provider<MetadataChecker> checkerFactory)
           
 
Method Summary
 void check(hudson.model.AbstractProject project)
           
 boolean isConfigured()
           
 void update(hudson.model.AbstractBuild build, Collection<MavenCoordinatesDTO> dependencies)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotMonitorImpl

@Inject
public SnapshotMonitorImpl(org.hudsonci.service.SystemService system,
                                  SnapshotMonitorPlugin plugin,
                                  javax.inject.Provider<MetadataChecker> checkerFactory)
Method Detail

isConfigured

public boolean isConfigured()
Specified by:
isConfigured in interface SnapshotMonitor

update

public void update(hudson.model.AbstractBuild build,
                   Collection<MavenCoordinatesDTO> dependencies)
            throws IOException
Specified by:
update in interface SnapshotMonitor
Throws:
IOException

check

public void check(hudson.model.AbstractProject project)
           throws IOException
Specified by:
check in interface SnapshotMonitor
Throws:
IOException


Copyright © 2004-2012 Hudson. All Rights Reserved.