org.opensha.commons.util.bugReports
Class BugReport

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

public class BugReport
extends java.lang.Object


Nested Class Summary
static class BugReport.Component
           
static class BugReport.Type
           
 
Field Summary
static java.lang.String TRAC_NEW_TICKET_URL
           
static java.lang.String TRAC_URL
           
 
Constructor Summary
BugReport()
           
BugReport(java.lang.String summary, java.lang.String description, BugReport.Type type, java.lang.String reporter, BugReport.Component component, java.lang.String keywords)
           
BugReport(java.lang.Throwable t, java.lang.String metadata, java.lang.String appName, ApplicationVersion appVersion, java.lang.Object buggyComp)
           
 
Method Summary
 java.net.URL buildTracURL()
           
 BugReport.Component getComponent()
           
 java.lang.String getDescription()
           
 java.lang.String getKeywords()
           
 java.lang.String getReporter()
           
 java.lang.String getSummary()
           
 java.lang.Throwable getThrowable()
           
 BugReport.Type getType()
           
 void setComponent(BugReport.Component component)
           
 void setDescription(java.lang.String description)
           
 void setKeywords(java.lang.String keywords)
           
 void setReporter(java.lang.String reporter)
           
 void setSummary(java.lang.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 java.lang.String TRAC_URL

TRAC_NEW_TICKET_URL

public static java.lang.String TRAC_NEW_TICKET_URL
Constructor Detail

BugReport

public BugReport()

BugReport

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

BugReport

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

getSummary

public java.lang.String getSummary()

setSummary

public void setSummary(java.lang.String summary)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getType

public BugReport.Type getType()

setType

public void setType(BugReport.Type type)

getReporter

public java.lang.String getReporter()

setReporter

public void setReporter(java.lang.String reporter)

getComponent

public BugReport.Component getComponent()

setComponent

public void setComponent(BugReport.Component component)

getKeywords

public java.lang.String getKeywords()

setKeywords

public void setKeywords(java.lang.String keywords)

buildTracURL

public java.net.URL buildTracURL()
                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getThrowable

public java.lang.Throwable getThrowable()