|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.engine.impl.report.plsql.PLSQLReportProcessor
public class PLSQLReportProcessor
A class to handle PL/SQL Report processing. The report classes that are available to Java diagnostic test developers, are not available to the PL/SQL test developers in their native form. In their code the PL/SQL developers will make calls to a quasi reporting api that will defer the report implementation to the Java report api, via this class, after the completion of a PL/SQL test.
A PL/SQL report api call generates a report instruction that is put on a "queue" (instruction array). Additionally, related instruction values (parameters) are put on a value "queue". After the PL/SQL diagnostic test completes, the instruction/value arrays are passed to a PL/SQL report processor (this class) to process the instructions and generate a report. There are report instuctions available to mimic Java report capabilities in addition to a few that are PL/SQL specific. For instance, instructions are available to instruct adding a report section (START_REPORT_SECTION), or add a report message (REPORT_MSG), to end a report section (END_REPORT_SECTION), pop a report section (POP_REPORT_SECTION), etc.
Constructor Summary | |
---|---|
PLSQLReportProcessor()
|
Method Summary | |
---|---|
void |
process(DiagContextExtn context,
java.lang.String[] instructions,
java.lang.String[] values)
Processes the PL/SQL report instructions along with their associated values to generate a step report. |
void |
processDebugMessages(StepReport stepReport,
java.lang.String[] debugMessages)
Processes debug messages by displaying them in a separate section of the report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PLSQLReportProcessor()
Method Detail |
---|
public void processDebugMessages(StepReport stepReport, java.lang.String[] debugMessages)
stepReport
- a StepReport object to which a report Section will
be added. This Section will contain debug messages.debugMessages
- an array of debug messages.public void process(DiagContextExtn context, java.lang.String[] instructions, java.lang.String[] values)
context
- a diagnostic context object.instructions
- a String array containing valid PL/SQL instructions.
All instructions are in upper case.values
- a String array containing values that correspond to the
passed in instructions.
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |