org.hudsonci.plugins.snapshotmonitor.internal
Class SimpleMetadataChecker
java.lang.Object
org.hudsonci.plugins.snapshotmonitor.internal.SimpleMetadataChecker
- All Implemented Interfaces:
- MetadataChecker
public class SimpleMetadataChecker
- extends Object
- implements MetadataChecker
Checks Metadata instances for the last updated time.
- 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 |
SimpleMetadataChecker
public SimpleMetadataChecker(String baseUrl,
String user,
String password)
getPath
public String getPath(MavenCoordinatesDTO artifact)
- Specified by:
getPath in interface MetadataChecker
check
public long check(WatchedDependency dependency)
throws IOException
- Returns the last-updated date for the given dependency, or 0 if unavailable.
- Specified by:
check in interface MetadataChecker
- Throws:
IOException
Copyright © 2004-2012 Hudson. All Rights Reserved.