org.codehaus.mojo.scmchangelog.tracker
Class JiraBugTrackLinker

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.tracker.JiraBugTrackLinker
All Implemented Interfaces:
BugTrackLinker

public class JiraBugTrackLinker
extends Object
implements BugTrackLinker

An implementation for the JIRA bug tracker.

Version:
$Id: JiraBugTrackLinker.java 7987 2008-10-31 07:18:10Z ehsavoie $
Author:
ehsavoie

Constructor Summary
JiraBugTrackLinker(String jiraUrl)
          Creates a new instance of JiraBugTrackLinker
 
Method Summary
 String getLinkUrlForBug(String bugNumber)
          Computes the link to the description of the specified bug for Jira.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraBugTrackLinker

public JiraBugTrackLinker(String jiraUrl)
Creates a new instance of JiraBugTrackLinker

Parameters:
jiraUrl - the url to the instance of Jira.
Method Detail

getLinkUrlForBug

public String getLinkUrlForBug(String bugNumber)
Computes the link to the description of the specified bug for Jira.

Specified by:
getLinkUrlForBug in interface BugTrackLinker
Parameters:
bugNumber - the id of the bug.
Returns:
the url to the description of the bug in Jira.


Copyright © 2008-2009 Codehaus. All Rights Reserved.