⇒ Index (Frames) | ⇒ Index (No Frames) | ⇒ Package | ⇒ Package Tree | ⇒ Full Tree 
com.tildemh.debbug

Class BTS

java.lang.Object|
+--com.tildemh.debbug.BTS


publicclass BTS
extends java.lang.Object

Debian Bug Tracking System interaction. This class is used to obtain bug reports and listings. Methods will take simple package name or bug number inputs and this class will determine whether to download the reports, or use the versions in cache.

todo: get bugs/listings in background using a separate thread.

This is released under the terms of the GNU Lesser General Public License (LGPL). See the COPYING file for details.

Author:
© Mark Howard <mh@debian.org> 2002

Method Summary

Bug

getBug(Integer bugNumber)

Returns a bug report, or a new report with no content (in which case bug.update() should be called).

static BTS

getInstance()

Listing

getListing(ListingType type,String name)

Returns a listing, possibly an empty one;

Listing

getListing(ListingStub stub)

Method Details

getBug

publicBuggetBug(Integer bugNumber)

Returns a bug report, or a new report with no content (in which case bug.update() should be called).

Parameters:
bugNumber

getInstance

publicstatic BTSgetInstance()


getListing

publicListinggetListing(ListingStub stub)

Parameters:
stub

getListing

publicListinggetListing(ListingType type,String name)

Returns a listing, possibly an empty one;

Parameters:
type
name