|
||||||||||
| 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(org.apache.maven.plugin.logging.Log log)
|
|
| Method Summary | |
|---|---|
Release |
getLatestRelease(List releases,
String pomVersion)
Get the latest release by matching the supplied releases with the version from the pom. |
protected Release |
getRelease(List releases,
String version)
Get a release with the specified version from the list of releases. |
protected void |
logRelease(Release release)
|
List |
mergeReleases(List firstReleases,
List secondReleases)
Merge releases from one issue tracker with releases from another issue tracker. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReleaseUtils(org.apache.maven.plugin.logging.Log log)
| Method Detail |
|---|
public Release getLatestRelease(List releases,
String pomVersion)
throws org.apache.maven.plugin.MojoExecutionException
releases - list of releasespomVersion - Version of the artifact
Release that matches the next release of the current project
org.apache.maven.plugin.MojoExecutionException - If a release can't be found
protected Release getRelease(List releases,
String version)
releases - A list of releasesversion - The version we want
protected void logRelease(Release release)
public List mergeReleases(List firstReleases,
List secondReleases)
firstReleases - Releases from the first issue trackersecondReleases - Releases from the second issue tracker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||