org.apache.maven.changes
Class IssueFinder
java.lang.Object
org.apache.maven.changes.IssueFinder
- public class IssueFinder
- extends Object
- Version:
- $Id: IssueFinder.java 434563 2006-08-24 23:32:54Z ltheussl $
- Author:
- Vincent Massol
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueFinder
public IssueFinder()
getIssueURL
public static String getIssueURL(String trackerURL,
String issue,
String template)
- Parameters:
trackerURL
- the issue tracker URL (this is supposed to be the
value of <issueTrackingUrl> found in the POM.issue
- the issue referencetemplate
- the template string. Allowed template patterns are
%URL%
and %ISSUE%
. They will be
replaced by the base tracker URL extracted from trackerURL and
by the issue reference.
- Returns:
- The URL of the issue.
replace
public static final String replace(String original,
String oldPattern,
String newPattern)
- Parameters:
original
- the original templateoldPattern
- the pattern to replacenewPattern
- the new pattern
- Returns:
- the modified template string with patterns applied
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.