public class IssueUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SNAPSHOT_SUFFIX |
Constructor and Description |
---|
IssueUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Issue> |
filterIssuesWithVersionPrefix(List<Issue> issues,
String prefix)
Find the issues that has a Fix Version that matches the supplied prefix.
|
static List<Issue> |
getIssuesForVersion(List<Issue> issues,
String version)
Find the issues for only the supplied version, by matching the "Fix for"
version in the supplied list of issues with the supplied version.
|
public static final String SNAPSHOT_SUFFIX
public static List<Issue> filterIssuesWithVersionPrefix(List<Issue> issues, String prefix) throws org.apache.maven.plugin.MojoExecutionException
issues
- A list of issuesprefix
- The prefix of the "Fix Version" that should matchList
of issues fixed in versions that match the supplied prefixorg.apache.maven.plugin.MojoExecutionException
- If no issues could be found for the supplied prefixpublic static List<Issue> getIssuesForVersion(List<Issue> issues, String version) throws org.apache.maven.plugin.MojoExecutionException
issues
- A list of issuesversion
- The version that issues should be returned forList
of issues for the supplied versionorg.apache.maven.plugin.MojoExecutionException
- If no issues could be found for the supplied versionCopyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.