|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReportingService
A reporting service provides both methods for querying the reporting mechanism for declarative problems and solutions and to for programmatically creating programs and solutions.
ReportingPlugin.getReportingService()| Method Summary | |
|---|---|
IProblem |
createProblem(java.lang.String description,
java.lang.Throwable exception,
java.lang.String mailto,
java.lang.String pluginID)
Programmatically create a problem from the specified description and exception. |
ISolution |
createSolution(java.lang.String description,
ISolver solver)
Programmatically create a solution from the specified description and solver. |
IProblem |
getProblem(java.lang.String problemID,
java.lang.String description,
java.lang.Throwable exception,
java.lang.String pluginID)
Get a problem that was declaratively defined via the eu.geclipse.core.reporting.problemReporting extension point. |
ISolution |
getSolution(java.lang.String solutionID,
java.lang.String description)
Get a solution that was declaratively defined via the eu.geclipse.core.reporting.problemReporting extension point. |
| Method Detail |
|---|
IProblem createProblem(java.lang.String description,
java.lang.Throwable exception,
java.lang.String mailto,
java.lang.String pluginID)
IProblem.addReason(String)
and IProblem.addSolution(ISolution)/IProblem.addSolution(String,String)
may be used afterwards to further customize the problem.
description - A descriptive text that gives a short
explanation of the problem.exception - A Throwable that may have caused
this problem. May be null.mailto - An email-address that may be used to send
an automated error report.pluginID - The ID of the plug-in where the problem
happened.
IProblem getProblem(java.lang.String problemID,
java.lang.String description,
java.lang.Throwable exception,
java.lang.String pluginID)
problemID - The unique ID of the problem as declared
in the corresponding extension.description - A descriptive text that overwrites the
default text provided by the extension. If this is
null the default text will be taken.exception - A Throwable that may have caused
this problem. May be null.pluginID - The ID of the plug-in where the problem
happened.
ISolution createSolution(java.lang.String description,
ISolver solver)
description - A descriptive text that gives a short
explanation of the solution.solver - An instance of the ISolver-interface
that provides dedicated problem solving strategies. If this
is null the solution will be passive.
ISolution getSolution(java.lang.String solutionID,
java.lang.String description)
solutionID - The unique ID of the solution as declared
in the corresponding extension.description - A descriptive text that overwrites the
default text provided by the extension. If this is
null the default text will be taken.
null will be returned.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||