org.hudsonci.maven.plugin.builder.internal
Class ArtifactRegistry
java.lang.Object
org.hudsonci.maven.plugin.builder.internal.ArtifactRegistry
public class ArtifactRegistry
- extends Object
Stores records of ArtifactDTOs.
- Since:
- 2.1.0
- Author:
- Jamie Whitehouse
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactRegistry
public ArtifactRegistry()
recordArtifact
public void recordArtifact(ArtifactDTO artifact)
- Synchronizes recording of artifacts and updates to the attribute values.
Non-null attributes will be overwritten; collection based attributes will have values added.
getAll
public Collection<ArtifactDTO> getAll()
- Returns:
- an immutable list of the
ArtifactDTO within the registry
get
public ArtifactDTO get(MavenCoordinatesDTO coordinates)
- Returns the ArtifactDTO for the specified coordinates, or null if there is no registration.
Copyright © 2004-2011 Hudson. All Rights Reserved.