|
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 |
public interface TestReportExtn
Extension interface to the public TestReport interface. Provides additional APIs that the engine uses internally during execution to set internal attributes and contents into the report.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary |
---|
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.ReportConstants |
---|
ERROR_TYPE_DIAG, ERROR_TYPE_EXEC, MSG_ATTENTION, MSG_NORMAL, SEVERITY_CRITICAL, SEVERITY_WARNING |
Method Summary | |
---|---|
void |
addErrorInfo(ErrorInfo pErrorInfo)
Adds the given error to the end of this report i.e. |
void |
addSection(Section pSection)
Adds the given section to the end of this report i.e. |
void |
addStepReport(StepReportExtn pStepReport)
Adds the given StepReport to the test report |
void |
computeLinks()
Computes the link URL specified for each Message (if any) within this report. |
DiagConstants.Status |
computeStatus()
Returns the status of this test based on the errors logged in the step report. |
java.lang.String |
getDateFormat()
Returns the date format for the report |
java.lang.String |
getDateFormatLabel()
Returns the date format title for the report |
java.lang.String |
getDisplayName()
Gets the test display name currently set in the report |
java.util.Date |
getEndDate()
Gets the end date |
java.lang.String |
getEndDateLabel()
Gets the end date title |
java.lang.String |
getExecutionId()
Returns the execution ID for the execution that generated this report. |
java.lang.String |
getExecutionIdLabel()
Returns the execution ID Label for the execution that generated this report. |
TestReport |
getJAXBMetadataObj()
Returns the underlying JAXB TestReport object |
java.lang.String |
getLang()
Returns the language code for this report. |
java.lang.String |
getNlsBundle()
Returns the NLS Bundle class |
java.lang.String |
getNlsBundleLabel()
Returns the NLS Bundle class title |
java.lang.String |
getRunId()
Returns the run ID for the run that generated this report |
java.lang.String |
getRunIdLabel()
Returns the run ID Label for the run that generated this report |
java.lang.String |
getSourceLang()
Returns the source language if the contents of this report has been translated |
java.lang.String |
getSourceLangLabel()
Returns the source language title if the contents of this report has been translated |
java.util.Date |
getStartDate()
Gets the start date |
java.lang.String |
getStartDateLabel()
Gets the start dateLabel |
DiagConstants.Status |
getStatusCode()
Gets the status code for this report |
java.lang.String |
getStatusCodeLabel()
Gets the status code title for this report |
StepReportExtn |
getStepReport(java.lang.String pStepName)
Returns the step report for the given step |
java.util.List<StepReportExtn> |
getStepReportList()
Returns the list of step reports in this report |
java.lang.String |
getTestName()
Gets the test name |
java.lang.String |
getTestNameLabel()
Gets the test nameLabel |
java.lang.String |
getTestTableTitle()
Gets the test table title currently set in the report |
java.lang.String |
getVersion()
Gets the version of the test that generated this report |
java.lang.String |
getVersionLabel()
Gets the version report title of the test that generated this report |
void |
setDateFormat(java.lang.String pDateFormat)
Sets the date format for this report. |
void |
setDateFormatLabel(java.lang.String pDateFormatLabel)
Sets the date formatLabel for this report. |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the version report title of the test that generated this report |
void |
setEndDate(java.util.Date pEndDate)
Sets the end date for this report |
void |
setEndDateLabel(java.lang.String pEndDateLabel)
Sets the end dateLabel for this report |
void |
setExecutionId(java.lang.String pExecutionId)
Sets the execution Id for the current exection |
void |
setExecutionIdLabel(java.lang.String pExecutionIdLabel)
Sets the execution IdLabel for the current exection |
void |
setJAXBMetadataObj(TestReport pObj,
java.lang.Boolean pViewReportAllowed)
Sets the given underlying JAXB TestReport object |
void |
setLang(java.lang.String pLang)
Sets the language code for this report |
void |
setNlsBundle(java.lang.String pNlsBundle)
Sets the NLS bundle for the report |
void |
setNlsBundleLabel(java.lang.String pNlsBundleLabel)
Sets the NLS bundleLabel for the report |
void |
setRunId(java.lang.String pRunId)
Sets the run IDfor the run that generated this report |
void |
setRunIdLabel(java.lang.String pRunIdLabel)
Sets the run IDLabel for the run that generated this report |
void |
setSourceLang(java.lang.String pSourceLang)
Sets the source language code for this report |
void |
setSourceLangLabel(java.lang.String pSourceLangLabel)
Sets the source languageLabel code for this report |
void |
setStartDate(java.util.Date pStartDate)
Sets the start date for this report |
void |
setStartDateLabel(java.lang.String pStartDateLabel)
Sets the start date title for this report |
void |
setStatusCode(DiagConstants.Status pStatusCode)
Sets the status code for this report |
void |
setStatusCodeLabel(java.lang.String pStatusCodeLabel)
Sets the status codeLabel for this report |
void |
setTestName(java.lang.String pTestName)
Sets the title name for the test |
void |
setTestNameLabel(java.lang.String pTestNameLabel)
Sets the header title of the test |
void |
setTestTableTitle(java.lang.String pTestTableTitle)
Sets the table title for the test |
void |
setVersion(java.lang.String pVersion)
Sets the version of the test that generated this report |
void |
setVersionLabel(java.lang.String pVersionLabel)
Sets the version report title of the test that generated this report |
void |
translate()
Performs a translation of all the translatable labels in this report. |
void |
visitAll(ReportVisitor visitor)
Traverses each element in this test report and invokes the callback APIs on the given visitor class during the traversal. |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.TestReport |
---|
getSummary |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Container |
---|
getMask, setMask |
Method Detail |
---|
void setTestNameLabel(java.lang.String pTestNameLabel)
pTestNameLabel
- the name of the test header titlevoid setTestName(java.lang.String pTestName)
pDisplayName
- the display name for the test header titlevoid setTestTableTitle(java.lang.String pTestTableTitle)
pDTestTableTitle
- the table title for the testvoid setDisplayName(java.lang.String pDisplayName)
pVersionLabel
- the version of the testvoid setVersionLabel(java.lang.String pVersionLabel)
pVersionLabel
- the version of the testvoid setVersion(java.lang.String pVersion)
pVersion
- the version of the testvoid setRunIdLabel(java.lang.String pRunIdLabel)
pRunIdLabel
- the run IDLabel for the run that generated this reportvoid setRunId(java.lang.String pRunId)
pRunIdthe
- run IDfor the run that generated this reportvoid setStartDateLabel(java.lang.String pStartDateLabel)
pStartDateLabel
- title the start date for this reportvoid setStartDate(java.util.Date pStartDate)
pStartDate
- the start date for this reportvoid setEndDateLabel(java.lang.String pEndDateLabel)
pEndDateLabel
- the end dateLabel for this reportvoid setEndDate(java.util.Date pEndDate)
pEndDate
- the end date for this reportvoid setExecutionIdLabel(java.lang.String pExecutionIdLabel)
pExecutionIdLabel
- execution IDLabel for the current executionvoid setExecutionId(java.lang.String pExecutionId)
pExecutionId
- execution ID for the current executionvoid setStatusCodeLabel(java.lang.String pStatusCodeLabel)
pStatusCodeLabel
- the status codeLabel for this reportvoid setStatusCode(DiagConstants.Status pStatusCode)
pStatusCode
- the status code for this reportvoid setNlsBundleLabel(java.lang.String pNlsBundleLabel)
pNlsBundleLabel
- the NLS bundleLabel for the reportvoid setNlsBundle(java.lang.String pNlsBundle)
pNlsBundle
- the NLS bundle for the reportvoid setSourceLangLabel(java.lang.String pSourceLangLabel)
pSourceLangLabel
- the source language codeLabel for this reportvoid setSourceLang(java.lang.String pSourceLang)
pSourceLang
- the source language code for this reportvoid setLang(java.lang.String pLang)
pLang
- the language code for this reportvoid setDateFormatLabel(java.lang.String pDateFormatLabel)
pDateFormatLabel
- the date formatLabel for this reportvoid setDateFormat(java.lang.String pDateFormat)
pDateFormat
- the date format for this reportvoid addStepReport(StepReportExtn pStepReport)
pStepReport
- the StepReport to add to this reportjava.lang.String getTestNameLabel()
java.lang.String getTestName()
java.lang.String getTestTableTitle()
java.lang.String getDisplayName()
java.lang.String getVersionLabel()
java.lang.String getVersion()
java.lang.String getStartDateLabel()
java.util.Date getStartDate()
java.lang.String getEndDateLabel()
java.util.Date getEndDate()
java.lang.String getRunIdLabel()
java.lang.String getRunId()
java.lang.String getExecutionIdLabel()
java.lang.String getExecutionId()
java.lang.String getStatusCodeLabel()
DiagConstants.Status getStatusCode()
java.lang.String getNlsBundleLabel()
java.lang.String getNlsBundle()
java.lang.String getSourceLangLabel()
java.lang.String getSourceLang()
java.lang.String getLang()
java.lang.String getDateFormatLabel()
java.lang.String getDateFormat()
java.util.List<StepReportExtn> getStepReportList()
StepReportExtn getStepReport(java.lang.String pStepName)
pStepName
- the step name for which to return the report
TestReport getJAXBMetadataObj()
void setJAXBMetadataObj(TestReport pObj, java.lang.Boolean pViewReportAllowed)
pObj
- the underlying JAXB TestReport object for this reportpViewReportAllowed
- Boolean representing whether the user is allowed to view the full reportDiagConstants.Status computeStatus()
void translate()
void computeLinks()
void visitAll(ReportVisitor visitor)
Refer to the ReportVisitor
for additional details on
the visitor traversal of the report elements.
visitor
- instance of Visitor class implementation
to be used during the traversal.ReportVisitor
void addErrorInfo(ErrorInfo pErrorInfo)
This API is generally intended for the engine to call in order to log unexpected errors during test execution
pErrorInfo
- error information to add to the reportvoid addSection(Section pSection)
pSection
- section to add to the report
|
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 |