Preliminary documentation subject to change

com.bugcollect
Class Result

java.lang.Object
  extended by com.bugcollect.Result

public class Result
extends java.lang.Object

This class stores the bugcollect.com response result of a report submission.


Method Summary
 int getBucketId()
          Gets the ID assigned to the bucket into which the report was categorized.
 int getReportId()
          Gets the ID assigned to the report by bugcollect.com.
 java.util.UUID getReportUuid()
          Gets the report global unique identifier.
 java.io.Reader getResponse()
          Gets the response stream.
 int getSourceId()
          Gets the ID assigned to the source which submitted the report.
 EResultStatus getStatus()
          Gets the response status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStatus

public EResultStatus getStatus()
Gets the response status.


getReportId

public int getReportId()
Gets the ID assigned to the report by bugcollect.com.


getBucketId

public int getBucketId()
Gets the ID assigned to the bucket into which the report was categorized.


getSourceId

public int getSourceId()
Gets the ID assigned to the source which submitted the report.


getReportUuid

public java.util.UUID getReportUuid()
Gets the report global unique identifier. If the submitted report did not have an UUID, bugcollect.com will generate one and return it in the result.

See Also:
Report.setUUID

getResponse

public java.io.Reader getResponse()
Gets the response stream. This contains the response set for the reported incident bucket at bugcollect.com. For example the bucket can be marked at bugcollect.com to return a response that directs the end user to download a newer version of the application. The application should parse the response and display the appropiate message to the end user.


Preliminary documentation subject to change