org.hudsonci.maven.model.state
Class MavenProjectDTOHelper
java.lang.Object
org.hudsonci.maven.model.state.MavenProjectDTOHelper
public class MavenProjectDTOHelper
- extends Object
Helper for MavenProjectDTO.
The id used within the system should always be generated from this helper because there are inconsistencies
with MavenSession.getId and MavenProject.getId .
- 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 |
MavenProjectDTOHelper
public MavenProjectDTOHelper()
asId
public static String asId(MavenProjectDTO source)
- Returns:
- the project id as groupId:artifactId:packaging:version
asId
public static String asId(MavenCoordinatesDTO source)
- Returns:
- the project id as groupId:artifactId:packaging:version
Copyright © 2004-2011 Hudson. All Rights Reserved.