uk.co.mullsoft.jean
Class JEANProblemReportHandler

java.lang.Object
  extended by uk.co.mullsoft.jean.JEANProblemReportHandler
All Implemented Interfaces:
ProblemReportHandler

public class JEANProblemReportHandler
extends java.lang.Object
implements ProblemReportHandler


Field Summary
static java.lang.String JPR
           
 
Constructor Summary
JEANProblemReportHandler()
           
 
Method Summary
static java.lang.String[] decodeStringArray(java.lang.String[] stra)
           
static java.lang.String encode(java.lang.String str)
           
 java.lang.String[] getComponentNames(java.lang.String productName)
           
 java.lang.String[] getComponentNames(java.lang.String productName, java.lang.String[] componentPath)
           
 java.lang.String[] getProductNames()
           
 void reportProblem(ProblemReport pr)
          Handle a problem report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JPR

public static final java.lang.String JPR
See Also:
Constant Field Values
Constructor Detail

JEANProblemReportHandler

public JEANProblemReportHandler()
Method Detail

encode

public static java.lang.String encode(java.lang.String str)

decodeStringArray

public static java.lang.String[] decodeStringArray(java.lang.String[] stra)

getProductNames

public java.lang.String[] getProductNames()
Specified by:
getProductNames in interface ProblemReportHandler
Returns:
the names of all products

getComponentNames

public java.lang.String[] getComponentNames(java.lang.String productName)
Specified by:
getComponentNames in interface ProblemReportHandler
Returns:
the names of all top level components for the given product

getComponentNames

public java.lang.String[] getComponentNames(java.lang.String productName,
                                            java.lang.String[] componentPath)
Specified by:
getComponentNames in interface ProblemReportHandler
Returns:
the sub components of the component reached by the path for the given product.

reportProblem

public void reportProblem(ProblemReport pr)
Handle a problem report.

Specified by:
reportProblem in interface ProblemReportHandler