| java.lang.Object com.espada.bugtracker.app.Bug
Bug | public class Bug (Code) | | This is the Bug class, which is the core of the entire application.
When an instance of Bug is created, the class searches the database for an
existing bug with the corresponding bug id, and fills up the object properties.
To create a new bug in the database, the static method Bug.createBug() must be used.
version: : $Id: Bug.java,v 1.5 2001/03/13 07:43:44 manik Exp $
author: : Manik Surtani
|
Constructor Summary | |
public | Bug() | public | Bug(int bidn) |
Method Summary | |
public static String | createBug(String title, String detail, int reproduced, int status, int severity, int uid, int pid, String bugURL, String browserVersion) | public boolean | delete() | public static Vector | getAllBugs(Project p, String sortBy, Status st, int pageNumber, int trancheSize) Returns a vector of Bug objects related to project p. | public static Vector | getAllBugs(Project p, String sortBy, Severity sv, int pageNumber, int trancheSize) Returns a vector of Bug objects related to project p. | public static Vector | getAllBugs(Project p, String sortBy, Status st, Severity sv, int pageNumber, int trancheSize) Returns a vector of Bug objects related to project p. | public static Vector | getAllBugs(Project p, String sortBy) Returns a vector of Bug objects related to project p. | public static Vector | getAllBugs(Project p, String sortBy, int pageNumber, int trancheSize) | public String | update() |
bid | public int bid(Code) | | The bug ID of this bug
|
browserVersion | public String browserVersion(Code) | | The browser type/version used when this bug was found
|
dateString | public String dateString(Code) | | The date and time of reporting.
|
detail | public String detail(Code) | | The bug description of this bug
|
project | public Project project(Code) | | The Project to which this bug belongs
|
reproduced | public boolean reproduced(Code) | | Has this bug been reproduced?
|
status | public Status status(Code) | | The current status of this bug
|
user | public User user(Code) | | The User who reported this bug
|
delete | public boolean delete()(Code) | | |
getAllBugs | public static Vector getAllBugs(Project p, String sortBy, Status st, int pageNumber, int trancheSize)(Code) | | Returns a vector of Bug objects related to project p.
|
getAllBugs | public static Vector getAllBugs(Project p, String sortBy, Severity sv, int pageNumber, int trancheSize)(Code) | | Returns a vector of Bug objects related to project p.
|
getAllBugs | public static Vector getAllBugs(Project p, String sortBy)(Code) | | Returns a vector of Bug objects related to project p.
|
update | public String update()(Code) | | Updates the values of this bug in the database
|
|
|