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.
|
static String |
toString(List<Issue> issues) |
public static final String SNAPSHOT_SUFFIX
public static List<Issue> filterIssuesWithVersionPrefix(List<Issue> issues, String prefix) throws MojoExecutionException
issues - A list of issuesprefix - The prefix of the "Fix Version" that should matchList of issues fixed in versions that match the supplied prefixMojoExecutionException - If no issues could be found for the supplied prefixpublic static List<Issue> getIssuesForVersion(List<Issue> issues, String version) throws MojoExecutionException
issues - A list of issuesversion - The version that issues should be returned forList of issues for the supplied versionMojoExecutionException - If no issues could be found for the supplied versionCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.