org.hudsonci.maven.model.state
Class ArtifactDTOHelper
java.lang.Object
org.hudsonci.maven.model.state.ArtifactDTOHelper
public class ArtifactDTOHelper
- extends Object
Helper for ArtifactDTO.
- 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 |
ArtifactDTOHelper
public ArtifactDTOHelper()
getFile
public static File getFile(ArtifactDTO artifact)
- Creates a
File for the artifacts location if available.
An artifact may not have a file location when it has been recorded for use but not found in a Maven repo, hence
not resolved to the local repository/file system.
- Returns:
- a
File representing the artifacts location or null if the artifact has no file location.
Copyright © 2004-2011 Hudson. All Rights Reserved.