org.hudsonci.maven.plugin.dependencymonitor.internal
Class ArtifactsExtractorImpl
java.lang.Object
org.hudsonci.maven.plugin.dependencymonitor.internal.ArtifactsExtractorImpl
- All Implemented Interfaces:
- ArtifactsExtractor
public class ArtifactsExtractorImpl
- extends Object
- implements ArtifactsExtractor
Default implementation of ArtifactsExtractor.
Handles multi-configuration project/build artifact extraction.
- 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 |
ArtifactsExtractorImpl
public ArtifactsExtractorImpl()
extract
public ArtifactsPair extract(AbstractProject project)
- Get the artifacts from a projects last build.
When project is a multi-configuration
MatrixProject the artifacts for all configurations are returned.
When project is a multi-configuration MatrixConfiguration null is always returned.
- Specified by:
extract in interface ArtifactsExtractor
- Returns:
null if no matching last build or build has no Maven build records.
extract
public ArtifactsPair extract(AbstractBuild build)
- Get the artifacts for a build.
When build is a multi-configuration
MatrixRun null is always returned.
- Specified by:
extract in interface ArtifactsExtractor
- Returns:
null if no Maven build records are available for given build.
Copyright © 2004-2011 Hudson. All Rights Reserved.