|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
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.ContainerExtnImpl oracle.apps.fnd.appltest.diagfwk.engine.impl.report.TestReportExtnImpl
public class TestReportExtnImpl
Nested Class Summary | |
---|---|
static class |
TestReportExtnImpl.LinkComputingVisitor
A ReportVisitor class that computes the linkURL for each link in the report. |
static class |
TestReportExtnImpl.TranslatingVisitor
A ReportVisitor class that translates each traslatable label or message in the report. |
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 |
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagImplConstants |
---|
KEY_I_PARAM_DEF_REF, KEY_O_PARAM_DEF_REF, KEY_REF_TEST_DEF_TABLE, KEY_STEP_INPUT_PARAM_SECRET, SECRET_MASK, STEP_REP_EXEC_NAME_ENGINE, STEP_REP_NAME_ENGINE_LOG, TOKEN_DELIM, TOKEN_OUTPUTS, TOKEN_STEP, TOKEN_TEST_INPUTS, TOKEN_TEST_OUTPUTS |
Constructor Summary | |
---|---|
TestReportExtnImpl()
|
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. |
void |
fillJAXBMetadataObj(TestReport pObj)
|
java.lang.String |
getDateFormat()
Returns the date format for the report |
java.lang.String |
getDateFormatLabel()
Returns the date format for the report label |
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 label |
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 label |
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 translattestReported |
java.lang.String |
getSourceLangLabel()
Returns the source language title if the contents of this report has been translattestReported |
java.util.Date |
getStartDate()
Gets the start date |
java.lang.String |
getStartDateLabel()
Gets the start date label |
DiagConstants.Status |
getStatusCode()
Gets the status code for this report |
java.lang.String |
getStatusCodeLabel()
Gets the status code label 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 |
SummaryInfo |
getSummary()
Gets the Summary information for this test. |
java.lang.String |
getTestName()
Gets the test name |
java.lang.String |
getTestNameLabel()
Gets the test name label |
java.lang.String |
getTestTableTitle()
Gets the test table title label 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 label 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 format label for this report. |
void |
setDisplayName(java.lang.String pDisplayName)
Sets the display name for the test |
void |
setEndDate(java.util.Date pEndDate)
Sets the end date for this report |
void |
setEndDateLabel(java.lang.String pEndDateLabel)
Sets the end date label 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 Id title 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)
mTestReport. |
void |
setNlsBundle(java.lang.String pNlsBundle)
Sets the NLS bundle for the report |
void |
setNlsBundleLabel(java.lang.String pNlsBundleLabel)
Sets the NLS bundle label for the report |
void |
setRunId(java.lang.String pRunId)
Sets the run ID for the run that generated this report |
void |
setRunIdLabel(java.lang.String pRunIdLabel)
Sets the run ID label 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 language code label 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 label for this report |
void |
setStatusCode(DiagConstants.Status pStatusCode)
Sets the status code for this report |
void |
setStatusCodeLabel(java.lang.String pStatusCodeLabel)
Sets the status code label for this report |
void |
setTestName(java.lang.String pTestName)
Sets the name of the test |
void |
setTestNameLabel(java.lang.String pTestNameLabel)
Sets the name label of the test |
void |
setTestTableTitle(java.lang.String pTestTableTitle)
Sets the test 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 label of the test that generated this report |
void |
translate()
Performs a translation of all the translatable labels in this report. |
void |
visitAll(ReportVisitor pVisitor)
Visits all elements within this element and invokes the visitContainer() callback method on the visitor for each child ement visited. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.report.ContainerExtnImpl |
---|
copy, copy, fillJAXBMetadataObj, getMask, getObjectFactory, setJAXBMetadataObj, setMask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.api.report.Container |
---|
getMask, setMask |
Constructor Detail |
---|
public TestReportExtnImpl()
Method Detail |
---|
public java.lang.String getTestTableTitle()
getTestTableTitle
in interface TestReportExtn
public java.lang.String getDisplayName()
getDisplayName
in interface TestReportExtn
public SummaryInfo getSummary()
TestReport
getSummary
in interface TestReport
public void setTestTableTitle(java.lang.String pTestTableTitle)
setTestTableTitle
in interface TestReportExtn
pDisplayName
- test table title the display name for the testpublic void setDisplayName(java.lang.String pDisplayName)
setDisplayName
in interface TestReportExtn
pDisplayName
- the display name for the testpublic void setTestNameLabel(java.lang.String pTestNameLabel)
setTestNameLabel
in interface TestReportExtn
pTestNameLabel
- the name title o f the testpublic void setTestName(java.lang.String pTestName)
setTestName
in interface TestReportExtn
pTestName
- the name o f the testpublic void setVersionLabel(java.lang.String pVersionLabel)
setVersionLabel
in interface TestReportExtn
pVersionLabel
- the version of the testpublic void setVersion(java.lang.String pVersion)
setVersion
in interface TestReportExtn
pVersion
- the version of the testpublic void setRunIdLabel(java.lang.String pRunIdLabel)
setRunIdLabel
in interface TestReportExtn
pRunId
- the run ID label for the run that generated this reportpublic void setRunId(java.lang.String pRunId)
setRunId
in interface TestReportExtn
pRunId
- the run ID for the run that generated this reportpublic void setStartDateLabel(java.lang.String pStartDateLabel)
setStartDateLabel
in interface TestReportExtn
pStartDate
- the start date label for this reportpublic void setStartDate(java.util.Date pStartDate)
setStartDate
in interface TestReportExtn
pStartDate
- the start date for this reportpublic void setEndDateLabel(java.lang.String pEndDateLabel)
setEndDateLabel
in interface TestReportExtn
pEndDateLabel
- the end date title for this reportpublic void setEndDate(java.util.Date pEndDate)
setEndDate
in interface TestReportExtn
pEndDate
- the end date for this reportpublic void setExecutionIdLabel(java.lang.String pExecutionIdLabel)
setExecutionIdLabel
in interface TestReportExtn
pExecutionId
- execution ID title for the current executionpublic void setExecutionId(java.lang.String pExecutionId)
setExecutionId
in interface TestReportExtn
pExecutionId
- execution ID for the current executionpublic void setStatusCodeLabel(java.lang.String pStatusCodeLabel)
setStatusCodeLabel
in interface TestReportExtn
pStatusCodeLabel
- the status code title for this reportpublic void setStatusCode(DiagConstants.Status pStatusCode)
setStatusCode
in interface TestReportExtn
pStatusCode
- the status code for this reportpublic void setNlsBundleLabel(java.lang.String pNlsBundleLabel)
setNlsBundleLabel
in interface TestReportExtn
pNlsBundle
- the NLS bundle title for the reportpublic void setNlsBundle(java.lang.String pNlsBundle)
setNlsBundle
in interface TestReportExtn
pNlsBundle
- the NLS bundle for the reportpublic void setSourceLangLabel(java.lang.String pSourceLangLabel)
setSourceLangLabel
in interface TestReportExtn
pSourceLangLabel
- the source language code title for thi mTestReport. mTestReport.s reportpublic void setSourceLang(java.lang.String pSourceLang)
setSourceLang
in interface TestReportExtn
pSourceLang
- the source language code for thi mTestReport. mTestReport.s reportpublic void setLang(java.lang.String pLang)
setLang
in interface TestReportExtn
pLang
- the language code for this reportpublic void setDateFormatLabel(java.lang.String pDateFormatLabel)
setDateFormatLabel
in interface TestReportExtn
pDateFormatLabel
- the date format label for this reportpublic void setDateFormat(java.lang.String pDateFormat)
setDateFormat
in interface TestReportExtn
pDateFormat
- the date format for this reportpublic void addStepReport(StepReportExtn pStepReport)
addStepReport
in interface TestReportExtn
pStepReport
- the StepReport to add to this reportpublic java.lang.String getTestNameLabel()
getTestNameLabel
in interface TestReportExtn
public java.lang.String getTestName()
getTestName
in interface TestReportExtn
public java.lang.String getVersionLabel()
getVersionLabel
in interface TestReportExtn
public java.lang.String getVersion()
getVersion
in interface TestReportExtn
public java.lang.String getStartDateLabel()
getStartDateLabel
in interface TestReportExtn
public java.util.Date getStartDate()
getStartDate
in interface TestReportExtn
public java.lang.String getEndDateLabel()
getEndDateLabel
in interface TestReportExtn
public java.util.Date getEndDate()
getEndDate
in interface TestReportExtn
public java.lang.String getRunIdLabel()
getRunIdLabel
in interface TestReportExtn
public java.lang.String getRunId()
getRunId
in interface TestReportExtn
public java.lang.String getExecutionIdLabel()
getExecutionIdLabel
in interface TestReportExtn
public java.lang.String getExecutionId()
getExecutionId
in interface TestReportExtn
public java.lang.String getStatusCodeLabel()
getStatusCodeLabel
in interface TestReportExtn
public DiagConstants.Status getStatusCode()
getStatusCode
in interface TestReportExtn
public java.lang.String getNlsBundleLabel()
getNlsBundleLabel
in interface TestReportExtn
public java.lang.String getNlsBundle()
getNlsBundle
in interface TestReportExtn
public java.lang.String getSourceLangLabel()
getSourceLangLabel
in interface TestReportExtn
public java.lang.String getSourceLang()
getSourceLang
in interface TestReportExtn
public java.lang.String getLang()
getLang
in interface TestReportExtn
public java.lang.String getDateFormatLabel()
getDateFormatLabel
in interface TestReportExtn
public java.lang.String getDateFormat()
getDateFormat
in interface TestReportExtn
public java.util.List<StepReportExtn> getStepReportList()
getStepReportList
in interface TestReportExtn
public StepReportExtn getStepReport(java.lang.String pStepName)
getStepReport
in interface TestReportExtn
pStepName
- the step name for which to return the report
public void setJAXBMetadataObj(TestReport pObj, java.lang.Boolean pViewReportAllowed)
setJAXBMetadataObj
in interface TestReportExtn
pObj
- the underlying JAXB TestReport object for this reportpViewReportAllowed
- Boolean representing whether the user is allowed to view the full reportpublic TestReport getJAXBMetadataObj()
getJAXBMetadataObj
in interface ContainerExtn
getJAXBMetadataObj
in interface TestReportExtn
public void fillJAXBMetadataObj(TestReport pObj)
public DiagConstants.Status computeStatus()
computeStatus
in interface TestReportExtn
public void translate()
TestReportExtn
translate
in interface TestReportExtn
public void computeLinks()
TestReportExtn
computeLinks
in interface TestReportExtn
public void visitAll(ReportVisitor pVisitor)
ContainerExtnImpl
visitAll
in interface TestReportExtn
visitAll
in class ContainerExtnImpl
pVisitor
- visitor class to be invoked for
each child element visited.ReportVisitor
public void addErrorInfo(ErrorInfo pErrorInfo)
TestReportExtn
This API is generally intended for the engine to call in order to log unexpected errors during test execution
addErrorInfo
in interface TestReportExtn
pErrorInfo
- error information to add to the reportpublic void addSection(Section pSection)
addSection
in interface TestReportExtn
pSection
- section to add to the report
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |