org.codehaus.mojo.scmchangelog.tracker
Class BugzillaBugTrackLinker

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

public class BugzillaBugTrackLinker
extends Object
implements BugTrackLinker

An implementation for the Bugzilla bug tracker.

Author:
Matthew Beermann

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

Constructor Detail

BugzillaBugTrackLinker

public BugzillaBugTrackLinker(String bugzillaUrl)
Creates a new instance of BugzillaBugTrackLinker

Parameters:
bugzillaUrl - the url to the instance of Bugzilla.
Method Detail

getLinkUrlForBug

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

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


Copyright © 2008-2009 Codehaus. All Rights Reserved.