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

Class ListingType

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

All Implemented Interfaces:
java.io.Serializable


publicclass ListingType
extends java.lang.Object
implements java.io.Serializable

Type for bug listings.

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

Field Summary

static ListingType

BINARY

static ListingType

BUG

static ListingType

MAINT

static ListingType

PSEUDO

static ListingType

SOURCE

static ListingType

SUBMITTER

static ListingType

VIRTUAL

Constructor Summary

ListingType(int value,String info,String title,boolean includeClosed)

Method Summary

boolean

equals(ListingType test)

boolean

getIncludeClosed()

String

getInfo()

String

getTitle()

int

getValue()

String

makeURL(String name)

Constructs a url for a web page containing the authorative reference of the listing.

void

setIncludeClosed(boolean includeClosed)

String

toString()

Field Details

BINARY

publicstatic ListingTypeBINARY


BUG

publicstatic ListingTypeBUG


MAINT

publicstatic ListingTypeMAINT


PSEUDO

publicstatic ListingTypePSEUDO


SOURCE

publicstatic ListingTypeSOURCE


SUBMITTER

publicstatic ListingTypeSUBMITTER


VIRTUAL

publicstatic ListingTypeVIRTUAL

Constructor Details

ListingType

publicListingType(int value,String info,String title,boolean includeClosed)

Parameters:
value
info
title
includeClosed

Method Details

equals

publicbooleanequals(ListingType test)

Parameters:
test
Returns:
true if two listing types are the same

getIncludeClosed

publicbooleangetIncludeClosed()


getInfo

publicStringgetInfo()


getTitle

publicStringgetTitle()


getValue

publicintgetValue()

Returns:
internal representation of listing type

makeURL

publicStringmakeURL(String name)

Constructs a url for a web page containing the authorative reference of the listing.

This method should be overridden for special types/

Parameters:
name

setIncludeClosed

publicvoidsetIncludeClosed(boolean includeClosed)

Parameters:
includeClosed

toString

publicStringtoString()