org.hudsonci.maven.plugin.artifactrecorder.internal
Class DigestCollector
java.lang.Object
org.hudsonci.maven.plugin.artifactrecorder.internal.DigestCollector
- All Implemented Interfaces:
- Serializable
public class DigestCollector
- extends Object
- implements Serializable
Collect ArtifactDTO digests.
- Since:
- 2.1.0
- Author:
- Jamie Whitehouse
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigestCollector
public DigestCollector(AbstractBuild build,
Set<ArtifactDTO> artifacts)
- Creates a collector for the build and corresponding list of artifacts from that build.
The artifact list can be a subset of all the artifacts from the build.
- Parameters:
build - to determine what node to find artifacts atartifacts - the artifacts to collect digests for
collect
public List<DigestRecord> collect()
throws IOException,
InterruptedException
- The caller should check for null digests and take appropriate action.
- Returns:
- a Map of ArtifactDTO to calculated digests in String form.
- Throws:
IOException
InterruptedException
Copyright © 2004-2011 Hudson. All Rights Reserved.