|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.changes.ReleaseUtils
public class ReleaseUtils
A utility class for working with Release objects.
| Constructor Summary | |
|---|---|
ReleaseUtils(Log log)
|
|
| Method Summary | |
|---|---|
List<Release> |
convertReleaseList(List changesReleases)
Convert an untyped List of Release objects that comes from changes.xml into a typed List of Release objects. |
Release |
getLatestRelease(List<Release> releases,
String pomVersion)
Get the latest release by matching the supplied releases with the version from the pom. |
protected Release |
getRelease(List<Release> releases,
String version)
Get a release with the specified version from the list of releases. |
protected void |
logRelease(Release release)
|
List<Release> |
mergeReleases(List<Release> firstReleases,
List<Release> secondReleases)
Merge releases from one issue tracker with releases from another issue tracker. |
List |
mergeReleases(List releases,
String componentName,
List componentReleases)
Merge releases from parent component with releases from child component. |
static String |
toString(List<Release> releases)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReleaseUtils(Log log)
| Method Detail |
|---|
public Release getLatestRelease(List<Release> releases,
String pomVersion)
throws MojoExecutionException
releases - list of releasespomVersion - Version of the artifact
Release that matches the next release of the current project
MojoExecutionException - If a release can't be found
protected Release getRelease(List<Release> releases,
String version)
releases - A list of releasesversion - The version we want
protected void logRelease(Release release)
public List<Release> mergeReleases(List<Release> firstReleases,
List<Release> secondReleases)
firstReleases - Releases from the first issue trackersecondReleases - Releases from the second issue tracker
public List<Release> convertReleaseList(List changesReleases)
changesReleases - An untyped List of Release objects
public List mergeReleases(List releases,
String componentName,
List componentReleases)
releases - Releases from the parent componentcomponentName - child component name (retrieved from project name)componentReleases - Releases from the child component
public static String toString(List<Release> releases)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||