|
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.DiagBObjImpl<T> oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc<T> oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDocReport<T>
public abstract class DiagJAXBXMLDocReport<T>
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 | |
---|---|
protected TestReportExtn |
mTestReport
|
protected java.lang.String |
xmlSrcFile
Metadata source file (this is set if the current object is loaded from a XML metadata file). |
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc |
---|
errMsgOnLoadXML, errMsgOnValXML |
Constructor Summary | |
---|---|
DiagJAXBXMLDocReport()
|
Method Summary | |
---|---|
void |
computeLinksInReport()
Computes links within this report |
protected abstract java.util.List<DiagJAXBXMLDocReport> |
getChildList()
Returns the list of nested entities |
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrorMsgOnLoadXmlErr()
Returns an instance of the resource with the error message when there is an failure to load XML using JAXB |
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef |
getErrorMsgOnXmlValErr(int pLine,
int pCol,
java.lang.String pMsg)
Returns an instance of the resource with the error message when there is validation error in the source XML |
protected java.lang.Object |
getJAXBMetadataObj()
Gets the top level JAXB object for the metadata |
protected java.lang.String |
getJAXBPkg()
Gets the JAXB object package for this metadata |
TestReportExtn |
getReportObj()
|
protected abstract java.lang.Boolean |
getViewReportAllowed()
Returns a boolean representing whether the salient details of a report may be viewed. |
protected abstract java.lang.String |
getXmlSourceIdentifier()
Returns an identifier for the current loaded XML source document |
protected void |
performPostLoad()
Callback hook for performing any post-load operations after loading of a XML document. |
protected java.lang.String |
saveReportHTML(java.lang.String pOutDir)
Saves the report to the specified directory in HTML format. |
protected java.lang.String |
saveReportHTML(java.lang.String pOutDir,
java.lang.String pFileName)
Saves the current report in HTML format to the given output directory and file. |
protected java.lang.String |
saveReportXML(java.lang.String pOutDir)
Saves the report to the specified directory. |
protected java.lang.String |
saveReportXML(java.lang.String pOutDir,
java.lang.String pFileName)
Saves the report to the specified directory and filename. |
protected void |
setJAXBMetadataObj(java.lang.Object pMd)
Sets the top level JAXB object for the metadata |
void |
setReportObj(TestReportExtn pReport)
|
protected static java.lang.String |
stripExtn(java.lang.String pFileName)
|
void |
translateReport()
Translates the translatable contents of this report to user's session language. |
java.lang.String |
writeReport(java.lang.String pOutDir,
boolean pWriteChildren,
DiagConstants.Format pFormat)
Writes the report to the output directory in the specified format. |
java.lang.String |
writeReport(java.lang.String pOutDir,
DiagConstants.Format pFormat)
Writes the report to the output directory in the specified format. |
java.lang.String |
writeReportHTML(java.lang.String pOutDir)
Writes out the report content in HTML format to the given output directory. |
java.lang.String |
writeReportHTML(java.lang.String pOutDir,
boolean pWriteChildren)
Writes out the report content in HTML format to the given output directory. |
java.lang.String |
writeReportXML(java.lang.String pOutDir)
Writes out the report content in XML format to the given output directory. |
java.lang.String |
writeReportXML(java.lang.String pOutDir,
boolean pWriteChildren)
Writes out the report content in XML format to the given output directory. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc |
---|
getErrMsgOnLoadXML, getErrMsgOnValXML, load, reactToValidationEvents, saveJAXB, saveToFile, setErrMsgOnLoadXML, setErrMsgOnValXML, setJAXBMetadataStr |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl |
---|
copy, copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin |
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.engine.DiagBObj |
---|
copyT |
Field Detail |
---|
protected java.lang.String xmlSrcFile
protected TestReportExtn mTestReport
Constructor Detail |
---|
public DiagJAXBXMLDocReport()
Method Detail |
---|
protected void setJAXBMetadataObj(java.lang.Object pMd)
DiagJAXBXMLDoc
setJAXBMetadataObj
in class DiagJAXBXMLDoc<T>
pMd
- the top level JAXB object for the metadataprotected java.lang.Object getJAXBMetadataObj()
DiagJAXBXMLDoc
getJAXBMetadataObj
in class DiagJAXBXMLDoc<T>
public void setReportObj(TestReportExtn pReport)
public TestReportExtn getReportObj()
protected java.lang.String getJAXBPkg()
DiagJAXBXMLDoc
getJAXBPkg
in class DiagJAXBXMLDoc<T>
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrorMsgOnLoadXmlErr()
DiagJAXBXMLDoc
getErrorMsgOnLoadXmlErr
in class DiagJAXBXMLDoc<T>
protected oracle.apps.fnd.appllcm.sdk.common.ResourceRef getErrorMsgOnXmlValErr(int pLine, int pCol, java.lang.String pMsg)
DiagJAXBXMLDoc
getErrorMsgOnXmlValErr
in class DiagJAXBXMLDoc<T>
pLine
- line number where the error occurredpCol
- column number where the error occurredpMsg
- validation error message
protected abstract java.lang.String getXmlSourceIdentifier()
protected void performPostLoad()
DiagJAXBXMLDoc
performPostLoad
in class DiagJAXBXMLDoc<T>
protected abstract java.lang.Boolean getViewReportAllowed()
protected java.lang.String saveReportXML(java.lang.String pOutDir)
pOutDir
- output directory.
protected java.lang.String saveReportXML(java.lang.String pOutDir, java.lang.String pFileName)
pOutDir
- output directory where the file should be saved.pFileName
- name of the file where the report should be saved.
protected java.lang.String saveReportHTML(java.lang.String pOutDir, java.lang.String pFileName)
pOutDir
- - output directorypFileName
- - output file nameprotected java.lang.String saveReportHTML(java.lang.String pOutDir)
pOutDir
- output directory.
protected static java.lang.String stripExtn(java.lang.String pFileName)
public java.lang.String writeReportXML(java.lang.String pOutDir)
pOutDir
- output directory
TestRun.writeReport(String)
,
TestExec.writeReport(String)
public java.lang.String writeReportXML(java.lang.String pOutDir, boolean pWriteChildren)
pOutDir
- output directorypWriteChildren
- if true writes the report for children if any.
TestRun.writeReport(String, boolean)
,
TestExec.writeReport(String, boolean)
public java.lang.String writeReportHTML(java.lang.String pOutDir)
pOutDir
- output directory
TestRun.writeReport(String)
,
TestExec.writeReport(String)
public java.lang.String writeReportHTML(java.lang.String pOutDir, boolean pWriteChildren)
pOutDir
- output directorypWriteChildren
- if true writes the report for children if any.
TestRun.writeReport(String, boolean)
,
TestExec.writeReport(String, boolean)
public java.lang.String writeReport(java.lang.String pOutDir, DiagConstants.Format pFormat)
pOutDir
- output direcotrypFormat
- format for the report
public java.lang.String writeReport(java.lang.String pOutDir, boolean pWriteChildren, DiagConstants.Format pFormat)
pOutDir
- output directorypWriteChildren
- if true, also writes the report for children
(if any)pFormat
- format for the report
protected abstract java.util.List<DiagJAXBXMLDocReport> getChildList()
public void translateReport()
public void computeLinksInReport()
|
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 |