java.lang.Object| +--com.tildemh.debbug.ListingStub| +--com.tildemh.debbug.ListingAll Implemented Interfaces:
synchronized void | addListener(ListingListener listener) Register an object to receive notification of events on this object |
void | bugDownloaded(Bug bug) Called when downloading of a bug report has completed |
boolean | bugException(Bug bug,Exception e) Called when an exception occurs with a bug (e.g. |
void | bugSeverityChanged(Bug bug,Severity oldseverity) |
void | bugStatusChanged(Bug bug,Status oldStatus) Called whenever the read/unread status of bug changes. |
void | bugUpdated(Bug bug) Called when a bug is updated |
static int | findListener(Vector list,Object listener) Give us a way to locate a specific listener in a Vector. |
synchronized int | |
synchronized int | |
synchronized Hashtable | getBugs() |
boolean | |
synchronized int | |
synchronized int | |
synchronized int | |
synchronized int | |
synchronized Long | Returns the date when the listing was last updated. |
synchronized int | |
synchronized int | |
synchronized int | |
synchronized int | |
void | Loads all the reports into memory setting listeners and calls bugAdded events for each |
static Listing | makeListing(ListingStub stub) Constructs a new listing WARNING: Do not do this! it will mess things up. |
synchronized void | removeListener(ListingListener listener) Unregister an object that was receiving event notification. |
void | retrievingBug(Bug bug) Called when a bug is being retrieved, If verbose progress notifications have been requested |
synchronized void | setAllCount(int count) |
synchronized void | setAllUnreadCount(int unreadCount) |
void | setComplete(boolean complete) |
synchronized void | setFPCount(int count) |
synchronized void | setFPUnreadCount(int unreadCount) |
synchronized void | setINCount(int count) |
synchronized void | setINUnreadCount(int unreadCount) |
synchronized void | setLastUpdated(Long lastUpdated) TODO: unix time! Sets the last updated field |
synchronized void | setMWCount(int count) |
synchronized void | setMWUnreadCount(int unreadCount) |
synchronized void | setRCCount(int count) |
synchronized void | setRCUnreadCount(int unreadCount) |
synchronized void | TODO: unix time! Sets the last updated field to the present time |
void | update() Downloads an updated version of the listing from the server and downloads any bug reports which are of a newer version on the server. |
publicsynchronized voidaddListener(ListingListener listener)
publicvoidbugDownloaded(Bug bug)
publicbooleanbugException(Bug bug,Exception e)
publicvoidbugSeverityChanged(Bug bug,Severity oldseverity)
publicvoidbugStatusChanged(Bug bug,Status oldStatus)
bug
changes.
publicvoidbugUpdated(Bug bug)
protectedstatic intfindListener(Vector list,Object listener)
publicsynchronized intgetAllCount()
publicsynchronized intgetAllUnreadCount()
publicsynchronized HashtablegetBugs()
publicbooleangetComplete()
publicsynchronized intgetFPCount()
publicsynchronized intgetFPUnreadCount()
publicsynchronized intgetINCount()
publicsynchronized intgetINUnreadCount()
publicsynchronized LonggetLastUpdated()
publicsynchronized intgetMWCount()
publicsynchronized intgetMWUnreadCount()
publicsynchronized intgetRCCount()
publicsynchronized intgetRCUnreadCount()
publicvoidloadReports()
publicstatic ListingmakeListing(ListingStub stub)
publicsynchronized voidremoveListener(ListingListener listener)
publicvoidretrievingBug(Bug bug)
publicsynchronized voidsetAllCount(int count)
publicsynchronized voidsetAllUnreadCount(int unreadCount)
publicvoidsetComplete(boolean complete)
publicsynchronized voidsetFPCount(int count)
publicsynchronized voidsetFPUnreadCount(int unreadCount)
publicsynchronized voidsetINCount(int count)
publicsynchronized voidsetINUnreadCount(int unreadCount)
publicsynchronized voidsetLastUpdated(Long lastUpdated)
publicsynchronized voidsetMWCount(int count)
publicsynchronized voidsetMWUnreadCount(int unreadCount)
publicsynchronized voidsetRCCount(int count)
publicsynchronized voidsetRCUnreadCount(int unreadCount)
publicsynchronized voidsetUpdated()
publicvoidupdate()