org.opensha.commons.util.bugReports
Class BugReport

java.lang.Object
  extended by org.opensha.commons.util.bugReports.BugReport

public class BugReport
extends Object


Nested Class Summary
static class BugReport.Component
           
static class BugReport.Type
           
 
Field Summary
static String TRAC_NEW_TICKET_URL
           
static String TRAC_URL
           
 
Constructor Summary
BugReport()
           
BugReport(String summary, String description, BugReport.Type type, String reporter, BugReport.Component component, String keywords)
           
BugReport(Throwable t, String metadata, String appName, ApplicationVersion appVersion, Object buggyComp)
           
 
Method Summary
 URL buildTracURL()
           
 BugReport.Component getComponent()
           
 String getDescription()
           
 String getKeywords()
           
 String getReporter()
           
 String getSummary()
           
 Throwable getThrowable()
           
 BugReport.Type getType()
           
 void setComponent(BugReport.Component component)
           
 void setDescription(String description)
           
 void setKeywords(String keywords)
           
 void setReporter(String reporter)
           
 void setSummary(String summary)
           
 void setType(BugReport.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRAC_URL

public static String TRAC_URL

TRAC_NEW_TICKET_URL

public static String TRAC_NEW_TICKET_URL
Constructor Detail

BugReport

public BugReport()

BugReport

public BugReport(Throwable t,
                 String metadata,
                 String appName,
                 ApplicationVersion appVersion,
                 Object buggyComp)

BugReport

public BugReport(String summary,
                 String description,
                 BugReport.Type type,
                 String reporter,
                 BugReport.Component component,
                 String keywords)
Method Detail

getSummary

public String getSummary()

setSummary

public void setSummary(String summary)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getType

public BugReport.Type getType()

setType

public void setType(BugReport.Type type)

getReporter

public String getReporter()

setReporter

public void setReporter(String reporter)

getComponent

public BugReport.Component getComponent()

setComponent

public void setComponent(BugReport.Component component)

getKeywords

public String getKeywords()

setKeywords

public void setKeywords(String keywords)

buildTracURL

public URL buildTracURL()
                 throws MalformedURLException
Throws:
MalformedURLException

getThrowable

public Throwable getThrowable()