|
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.StepReportExtnImpl
public class StepReportExtnImpl
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 |
Constructor Summary | |
---|---|
StepReportExtnImpl()
|
Method Summary | |
---|---|
void |
addErrorInfo(ErrorInfo pErrorInfo)
Convenience method for the engine to report any execution errors into the step report. |
void |
addExecutionError(java.lang.Throwable t)
Convenience method for the engine to report any execution errors into the step report. |
void |
addInputParameter(NameValue pParam)
Adds an input parameter for this step |
void |
addInputParameterList(NameValueList pParamList)
Adds the given input parameter list to the step report |
void |
addOutputParameter(NameValue pParam)
Adds an output parameter for this step |
void |
addOutputParameterList(NameValueList pParamList)
Adds the given output parameter list into this step report |
void |
addSection(Section pSection)
Adds a section to this step's report. |
void |
addStepReport(StepReport pStepReport)
Adds the given step report to this step report's contents |
DiagConstants.Status |
computeSectionStatus(Section pSection)
|
DiagConstants.Status |
computeStatus()
Returns the status of this step based on the errors logged in the step report. |
protected static void |
copy(StepReportType pSource,
StepReportType pTarget)
|
void |
fillJAXBMetadataObj(StepReportType pObj)
|
java.util.List<Container> |
getContents()
Gets the list of sections and step reports for this report |
java.util.Date |
getEndDate()
Returns the end date for this step |
java.lang.String |
getExecutableName()
Returns the name of the executable for this step. |
java.lang.String |
getExecutableType()
Returns the type of the executable for this step. |
java.lang.String |
getExecutionId()
Returns the execution id for this step |
ErrorInfo |
getInputError(java.lang.String pInputParamName)
Gets the validation error associated with an input parameter |
NameValueList |
getInputParameterList()
Returns the list of input parameters for this step |
StepReportType |
getJAXBMetadataObj()
Returns the underlying JAXB StepReport object |
java.lang.String |
getNlsBundle()
Gets the NLS Bundle for this report |
NameValueList |
getOutputParameterList()
Returns the list of output parameters for this step |
java.util.List<Section> |
getSections()
Gets the list of sections in this report |
java.util.Date |
getStartDate()
Returns the start date for this step |
DiagConstants.Status |
getStatusCode()
Gets the status code for this report |
java.lang.String |
getStepName()
Returns the step name for this step |
SummaryInfo |
getSummary()
Gets the summary for this step |
void |
setEndDate(java.util.Date pEndDate)
Sets the end date/time for this step |
void |
setExecutableName(java.lang.String pExecutableName)
Sets the name of the executable for this step. |
void |
setExecutableType(java.lang.String pExecutableType)
Sets the type of the executable for this step. |
void |
setExecutionId(java.lang.String pExecutionId)
Sets the execution ID for this step |
void |
setInputError(java.lang.String pInputParamName,
ErrorInfo pError)
Sets validation error associated with an input parameter |
void |
setJAXBMetadataObj(StepReportType pObj)
Sets the given underlying JAXB StepReport object |
void |
setNlsBundle(java.lang.String pNlsBundle)
Sets the bundle name for the NLS bundle to be used when fetching translatable labels for this report. |
void |
setNlsBundleXliff(java.lang.String pNlsBundle)
Sets the bundle name for the NLS bundle Xliff to be used when fetching translatable labels for this report. |
void |
setStartDate(java.util.Date pStartDate)
Sets the start date/time for this step |
void |
setStatusCode(DiagConstants.Status pStatusCode)
Sets the status code for this report |
void |
setStepName(java.lang.String pStepName)
Sets the name of the step |
void |
setSummary(SummaryInfo pSummary)
Sets the summary to this step's 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 StepReportExtnImpl()
Method Detail |
---|
public void setStepName(java.lang.String pStepName)
setStepName
in interface StepReportExtn
pStepName
- the name of the steppublic void setExecutableName(java.lang.String pExecutableName)
setExecutableName
in interface StepReportExtn
pExecutableName
- name of the executable for this step.public void setExecutableType(java.lang.String pExecutableType)
setExecutableType
in interface StepReportExtn
pExecutableType
- the type of the executable for this step.public void setStartDate(java.util.Date pStartDate)
setStartDate
in interface StepReportExtn
pStartDate
- the start date/time for this steppublic void setEndDate(java.util.Date pEndDate)
setEndDate
in interface StepReportExtn
pEndDate
- the end date/time for this steppublic void setExecutionId(java.lang.String pExecutionId)
setExecutionId
in interface StepReportExtn
pExecutionId
- the execution ID for this step.public void setStatusCode(DiagConstants.Status pStatusCode)
setStatusCode
in interface StepReportExtn
pStatusCode
- the status code for this reportpublic void addSection(Section pSection)
addSection
in interface StepReport
pSection
- a section to be added to the report.public void addStepReport(StepReport pStepReport)
StepReportExtn
addStepReport
in interface StepReportExtn
pStepReport
- the nested step report to add.public void setSummary(SummaryInfo pSummary)
setSummary
in interface StepReport
pSummary
- summary information for this step in the test.public void setNlsBundle(java.lang.String pNlsBundle)
setNlsBundle
in interface StepReport
pNlsBundle
- the name of the bundle that is the NLS resource
bundle.public void setNlsBundleXliff(java.lang.String pNlsBundle)
setNlsBundleXliff
in interface StepReport
pNlsBundle
- public java.util.List<Section> getSections()
getSections
in interface StepReport
public java.util.List<Container> getContents()
getContents
in interface StepReportExtn
public SummaryInfo getSummary()
getSummary
in interface StepReport
public java.lang.String getNlsBundle()
getNlsBundle
in interface StepReport
public void addInputParameter(NameValue pParam)
StepReportExtn
addInputParameter
in interface StepReportExtn
pParam
- an input parameter for this steppublic void addInputParameterList(NameValueList pParamList)
StepReportExtn
addInputParameterList
in interface StepReportExtn
pParamList
- input parameter listpublic void addOutputParameter(NameValue pParam)
addOutputParameter
in interface StepReportExtn
pParam
- an output parameter for this step.public void addOutputParameterList(NameValueList pParamList)
addOutputParameterList
in interface StepReportExtn
pParamList
- output parmater list.public void addExecutionError(java.lang.Throwable t)
addExecutionError
in interface StepReportExtn
t
- Throwable representing the execution error.public void addErrorInfo(ErrorInfo pErrorInfo)
StepReportExtn
addErrorInfo
in interface StepReportExtn
pErrorInfo
- error information to be added to the report.public java.lang.String getStepName()
getStepName
in interface StepReportExtn
public java.lang.String getExecutableName()
getExecutableName
in interface StepReportExtn
public java.lang.String getExecutableType()
getExecutableType
in interface StepReportExtn
public java.util.Date getStartDate()
getStartDate
in interface StepReportExtn
public java.util.Date getEndDate()
getEndDate
in interface StepReportExtn
public java.lang.String getExecutionId()
getExecutionId
in interface StepReportExtn
public DiagConstants.Status getStatusCode()
getStatusCode
in interface StepReportExtn
public NameValueList getInputParameterList()
getInputParameterList
in interface StepReportExtn
public NameValueList getOutputParameterList()
getOutputParameterList
in interface StepReportExtn
public StepReportType getJAXBMetadataObj()
getJAXBMetadataObj
in interface ContainerExtn
getJAXBMetadataObj
in interface StepReportExtn
public void fillJAXBMetadataObj(StepReportType pObj)
protected static void copy(StepReportType pSource, StepReportType pTarget)
public void setJAXBMetadataObj(StepReportType pObj)
setJAXBMetadataObj
in interface StepReportExtn
pObj
- the underlying JAXB StepReport object for this reportpublic DiagConstants.Status computeStatus()
computeStatus
in interface StepReportExtn
public DiagConstants.Status computeSectionStatus(Section pSection)
public void visitAll(ReportVisitor pVisitor)
ContainerExtnImpl
visitAll
in class ContainerExtnImpl
pVisitor
- visitor class to be invoked for
each child element visited.public void setInputError(java.lang.String pInputParamName, ErrorInfo pError)
setInputError
in interface StepReport
pInputParamName,
- the input parameterpError,
- the validaton errorpublic ErrorInfo getInputError(java.lang.String pInputParamName)
getInputError
in interface StepReport
pInputParamName,
- the parameter name
|
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 |