net.sf.statcvs.weblinks.bugs

Class Mantis


public class Mantis
extends BugTracker

Implements support for the Mantis bug tracker.
Version:
$Id: Mantis.java,v 1.3 2008/04/02 11:22:15 benoitx Exp $
Authors:
Brian J?rgensen (qte@cs.aau.dk)
Richard Cyganiak (richard@cyganiak.de)

Field Summary

Fields inherited from class net.sf.statcvs.weblinks.bugs.BugTracker

NO_BUG_TRACKER, bugRegex

Constructor Summary

Mantis(String baseURL)
Creates a new BugTracker instance.

Method Summary

String
bugURL(String bugNumber)
Returns the URL of the bug tracker page about a certain bug.
String
getName()
Returns the name of the bug tracker

Methods inherited from class net.sf.statcvs.weblinks.bugs.BugTracker

baseURL, bugURL, getName, toHTMLWithLinks

Constructor Details

Mantis

public Mantis(String baseURL)
Creates a new BugTracker instance.
Parameters:
baseURL - The bug tracker's base URL; a slash is appended if it doesn't end in a slash

Method Details

bugURL

public String bugURL(String bugNumber)
Returns the URL of the bug tracker page about a certain bug.
Overrides:
bugURL in interface BugTracker
Parameters:
bugNumber - The bug number; one or more digits.
Returns:
The URL of the bug page

getName

public String getName()
Returns the name of the bug tracker
Overrides:
getName in interface BugTracker
Returns:
the name of the bug tracker