Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.impl
Class TestExecImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<T>
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc<T>
          extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDocReport<TestExec>
              extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestExecImpl
All Implemented Interfaces:
DiagConstants, DiagBObj<TestExec>, DiagTreeNode, TestRunTreeNode, TestExec, TestMoniterable<TestExec>

public class TestExecImpl
extends DiagJAXBXMLDocReport<TestExec>
implements TestExec

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/impl/TestExecImpl.java /main/22 2009/06/05 14:18:09 ppradhan Exp $
Author:
ppradhan

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.TestRunTreeNode
TestRunTreeNode.NodeType
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDocReport
mTestReport, xmlSrcFile
 
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc
errMsgOnLoadXML, errMsgOnValXML
 
Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
APPS_MSG_ID_TAG_NAME, CFG_ADR_PROVIDER_CLASS, CFG_CACHE_PROVIDER_CLASS, CFG_CRED_PROVIDER_CLASS, CFG_DAO_FACTORY_CLASS, CFG_DB_CONN_INFO_PROVIDER_CLASS, CFG_DB_CONN_PROVIDER_CLASS, CFG_NLS_PROVIDER_CLASS, CFG_PLSQL_PROVIDER_CLASS, CFG_PROFILE_PROVIDER_CLASS, CFG_SECURITY_PROVIDER_CLASS, CFG_SESSION_INFO_PROVIDER_CLASS, CFG_URL_PROVIDER_FACTORY_CLASS, CFG_WLS_MBEANSRV_CONNINFO_PROVIDER_CLASS, DATA_SECURITY_PERMISSION_ALLOWED, DATA_SECURITY_PERMISSION_NOT_ALLOWED, DELIM_URL, EXEC_MODE_CLI, EXEC_MODE_ESS, EXEC_MODE_INCIDENT, EXEC_MODE_JAVA, EXEC_MODE_UI, EXECUTABLE_TYPE_JAVA, EXECUTABLE_TYPE_PLSQL, EXECUTABLE_TYPE_TESTREF, FORMAT_HTML, FORMAT_XML, GUID_ORACLE_MINUS1, GUID_ORACLE_ZERO, INPUTS_STATUS_ALL_OPT_INPUTS, INPUTS_STATUS_NO_INPUTS, INPUTS_STATUS_REQ_INPUTS_NO_DEFAULTS, INPUTS_STATUS_REQ_INPUTS_W_DEFAULTS, IO_FLAG_I, IO_FLAG_O, JMX_API_BASE_OBJECT_NAME, LINK_EXTERNAL, LINK_INTERNAL, LINK_METALINK, N, NLS_BUNDLE_JAVA_RES, NLS_BUNDLE_MSG_SVC, NLS_BUNDLE_RES_REF, NLS_BUNDLE_XLIFF, NO, NULL, ODF_MBEAN_DOMAIN_NAME, PARAM_MON_INTERVAL, PLSQL_DEBUG_ENABLED_SYSTEM_PROP, PREREQ_TYPE_TAG_VALUE, PREREQ_TYPE_TEST, SECONDS_IN_ONE_DAY, SECONDS_IN_ONE_HOUR, STATUS_CANCELED, STATUS_EXECERROR, STATUS_FAILURE, STATUS_RUNNING, STATUS_SUCCESS, STATUS_WARNING, SYS_PROP_MAX_MONITOR_INTERNVAL, SYS_PROP_MAX_NUM_THREADS, SYSPROP_APPCONNFILE, SYSPROP_DIAG_CONFIG_FILE, TAG_TYPE_DIAG, TAG_TYPE_TAXONOMY, TEST_TYPE_DECL, TEST_TYPE_JAVA, USER_NAME, WEB_APP_NAME_TAG_NAME, Y, YES
 
Constructor Summary
TestExecImpl()
           
 
Method Summary
 void addChild(TestExec pChild)
          Adds the given TestExec object to the list of this execution's child executions.
 boolean checkCanceled()
          Checks (by querying the repository) if this moniterable has been canceled.
 boolean checkDone()
          Checks (by querying the repository) if this moniterable is still running.
 void completeStepReport(java.lang.String pStepName)
          Complets the step report for the given step
 void computeLinksInReport()
          Computes links within this report
 void copy(TestExec e)
          Copies contents of the given TestExec object into this object
 void copyT(java.lang.Object pObj)
          Copies the contents of the given object into this object
 void fetch()
          Fetches the details of a particular test execution.
 void fetch(boolean pFetchChildExecutions)
          Fetches the details of a particular test execution.
 void fetch(boolean pFetchChildExecutions, boolean bLoadReport)
          Fetches the details of a particular test execution.
protected  java.util.List<DiagJAXBXMLDocReport> getChildList()
          Returns the list of nested entities
 java.util.List<TestRunTreeNode> getChildren()
          Gets the immediate children for this node.
 TestExecList getChildTestExecList()
          Gets the list of child executions for this test if any
 java.lang.String getDiagStatus()
          Gets the diagnostic status code for this node
 java.lang.String getDisplayName()
          Gets the display name for this node.
 java.lang.String getElapsedTime()
          Returns the difference between endTime and startTime for this node in "HH:MM:SS" format.
 java.util.Date getEndTime()
          Gets the end time
 java.lang.String getExecStatus()
          Gets the execution status code for this node
 java.lang.String getExecutionId()
          Gets the test execution id
 java.lang.String getID()
          Gets the ID for this node.
 java.lang.String getName()
          Gets the name for this node.
 TestReportExtn getNodeReportObj()
          Gets the report for this node.
 TestRunTreeNode.NodeType getNodeType()
          Returns the type of the current node
 java.lang.String getParentExecutionId()
          Gets the parent execution id if any
 java.lang.String getReport()
          Gets the execution report in the form a XML document
 java.lang.String getRunBy()
          Who ran the run, for now simply another accessor to the created by element.
 java.lang.String getRunId()
          Gets the test run id
 java.util.Date getStartTime()
          Gets the start time
 java.lang.String getStatus()
          Gets the status of this moniterable
 java.lang.String getTestDisplayName()
          Gets the test display name for this execution
 java.lang.String getTestId()
          Gets the test id
 java.lang.String getTestName()
          Gets the test name for this execution
 java.lang.Boolean getViewReportAllowed()
          Returns a boolean representing whether the salient details of a report may be viewed.
protected  java.lang.String getXmlSourceIdentifier()
          Returns an identifier for the current loaded XML source document
 boolean hasChildren()
          Returns a flag to indicate if this node has any children
 boolean hasReport()
          Checks to see if this node has a report
 void initializeReport(java.lang.String pTestName, java.lang.String pTestDisplayName, java.lang.String pTestVersion)
          Initializes the test report
 void initializeStepReport(java.lang.String pStepName, java.lang.String pExecName, java.lang.String pExecType)
          Initializes the step report for the given step name
 boolean isDone()
          Returns true if the moniterable is done.
protected  void loadReport()
          Loads report into JAXB objects from fetched report XML.
protected  void populate(java.lang.String pXMLMetadata)
           
 void save()
          Saves the status and contents of the moniterable to the repository.
 void setChildTestExecList(TestExecList childExecList)
          Sets the list of child executions for this test if any
 void setEndTime(java.util.Date pEndTime)
          Sets the end time
 void setExecutionId(java.lang.String pExecutionId)
          Sets the execution id
protected  void setJAXBMetadataStr(java.lang.String pXMLStr)
          Sets the marshalled XML document for the metadata in String format
 void setParentExecutionId(java.lang.String pParentExecutionId)
          Sets the parent execution id
 void setReport(java.lang.String pReport)
          Sets the report XML
 void setRunId(java.lang.String pRunId)
          Sets the run id
 void setStartTime(java.util.Date pStartTime)
          Sets the start time
 void setStatus(java.lang.String pStatus)
          Sets the status
 void setTestDisplayName(java.lang.String testDisplayName)
          Sets the test display name for this execution
 void setTestId(java.lang.String pTestId)
          Sets the test id
 void setTestName(java.lang.String pTestName)
          Sets the test name for this execution
 void setViewReportAllowed(java.lang.Boolean pViewReportAllowed)
           
 void translateReport()
          Translates the translatable contents of this report to user's session language.
 void visitAll(TestRun.TestRunVisitor pVisitor)
          Traverses this Execution as well as all Exections under this Execution and invokes the appropriate "visit()" method on the TestRunVisitor for each node.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDocReport
getErrorMsgOnLoadXmlErr, getErrorMsgOnXmlValErr, getJAXBMetadataObj, getJAXBPkg, getReportObj, performPostLoad, saveReportHTML, saveReportHTML, saveReportXML, saveReportXML, setJAXBMetadataObj, setReportObj, stripExtn, writeReport, writeReport, writeReportHTML, writeReportHTML, writeReportXML, writeReportXML
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagJAXBXMLDoc
getErrMsgOnLoadXML, getErrMsgOnValXML, load, reactToValidationEvents, saveJAXB, saveToFile, setErrMsgOnLoadXML, setErrMsgOnValXML
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl
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.TestExec
getReportObj, setReportObj, writeReport, writeReport, writeReportHTML, writeReportHTML, writeReportXML, writeReportXML
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObj
getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.TestRunTreeNode
getCreatedBy
 

Constructor Detail

TestExecImpl

public TestExecImpl()
Method Detail

getExecutionId

public java.lang.String getExecutionId()
Description copied from interface: TestExec
Gets the test execution id

Specified by:
getExecutionId in interface TestExec
Returns:
the test execution id

getRunId

public java.lang.String getRunId()
Description copied from interface: TestExec
Gets the test run id

Specified by:
getRunId in interface TestExec
Returns:
the test run id

getTestId

public java.lang.String getTestId()
Description copied from interface: TestExec
Gets the test id

Specified by:
getTestId in interface TestExec
Returns:
the test id

getTestName

public java.lang.String getTestName()
Description copied from interface: TestExec
Gets the test name for this execution

Specified by:
getTestName in interface TestExec
Returns:
the test name for this execution

getTestDisplayName

public java.lang.String getTestDisplayName()
Description copied from interface: TestExec
Gets the test display name for this execution

Specified by:
getTestDisplayName in interface TestExec
Returns:
display name for the test executed in this execution.

getParentExecutionId

public java.lang.String getParentExecutionId()
Description copied from interface: TestExec
Gets the parent execution id if any

Specified by:
getParentExecutionId in interface TestExec
Returns:
the parent execution id if any

getStatus

public java.lang.String getStatus()
Description copied from interface: TestMoniterable
Gets the status of this moniterable

Specified by:
getStatus in interface TestRunTreeNode
Specified by:
getStatus in interface TestMoniterable<TestExec>
Returns:
the status of this moniterable

getStartTime

public java.util.Date getStartTime()
Description copied from interface: TestExec
Gets the start time

Specified by:
getStartTime in interface TestRunTreeNode
Specified by:
getStartTime in interface TestExec
Returns:
the start time

getEndTime

public java.util.Date getEndTime()
Description copied from interface: TestExec
Gets the end time

Specified by:
getEndTime in interface TestRunTreeNode
Specified by:
getEndTime in interface TestExec
Returns:
the end time

getReport

public java.lang.String getReport()
Description copied from interface: TestExec
Gets the execution report in the form a XML document

Specified by:
getReport in interface TestExec
Returns:
the execution report

getRunBy

public java.lang.String getRunBy()
Description copied from interface: TestRunTreeNode
Who ran the run, for now simply another accessor to the created by element.

Specified by:
getRunBy in interface TestRunTreeNode
Returns:
the user identifier for who ran this Run

getChildTestExecList

public TestExecList getChildTestExecList()
Description copied from interface: TestExec
Gets the list of child executions for this test if any

Specified by:
getChildTestExecList in interface TestExec
Returns:
the list of child executions for this test if any

setExecutionId

public void setExecutionId(java.lang.String pExecutionId)
Description copied from interface: TestExec
Sets the execution id

Specified by:
setExecutionId in interface TestExec
Parameters:
pExecutionId - the execution id

setRunId

public void setRunId(java.lang.String pRunId)
Description copied from interface: TestExec
Sets the run id

Specified by:
setRunId in interface TestExec
Parameters:
pRunId - the run id

setTestId

public void setTestId(java.lang.String pTestId)
Description copied from interface: TestExec
Sets the test id

Specified by:
setTestId in interface TestExec
Parameters:
pTestId - the test id

setTestName

public void setTestName(java.lang.String pTestName)
Description copied from interface: TestExec
Sets the test name for this execution

Specified by:
setTestName in interface TestExec
Parameters:
pTestName - the test name for this execution

setTestDisplayName

public void setTestDisplayName(java.lang.String testDisplayName)
Description copied from interface: TestExec
Sets the test display name for this execution

Specified by:
setTestDisplayName in interface TestExec
Parameters:
testDisplayName - the display name for the test in this execution.

setParentExecutionId

public void setParentExecutionId(java.lang.String pParentExecutionId)
Description copied from interface: TestExec
Sets the parent execution id

Specified by:
setParentExecutionId in interface TestExec
Parameters:
pParentExecutionId - the parent execution id

setStatus

public void setStatus(java.lang.String pStatus)
Description copied from interface: TestExec
Sets the status

Specified by:
setStatus in interface TestExec
Parameters:
pStatus - the status

setStartTime

public void setStartTime(java.util.Date pStartTime)
Description copied from interface: TestExec
Sets the start time

Specified by:
setStartTime in interface TestExec
Parameters:
pStartTime - the start time

setEndTime

public void setEndTime(java.util.Date pEndTime)
Description copied from interface: TestExec
Sets the end time

Specified by:
setEndTime in interface TestExec
Parameters:
pEndTime - the end time

setReport

public void setReport(java.lang.String pReport)
Description copied from interface: TestExec
Sets the report XML

Specified by:
setReport in interface TestExec
Parameters:
pReport - the report XML

getViewReportAllowed

public java.lang.Boolean getViewReportAllowed()
Description copied from class: DiagJAXBXMLDocReport
Returns a boolean representing whether the salient details of a report may be viewed. For a run, all details are viewable but for an execution, step reports, summaries, etc are masked or hidden.

Specified by:
getViewReportAllowed in interface TestRunTreeNode
Specified by:
getViewReportAllowed in interface TestExec
Specified by:
getViewReportAllowed in class DiagJAXBXMLDocReport<TestExec>
Returns:
true if viewing allowed for the current user

setViewReportAllowed

public void setViewReportAllowed(java.lang.Boolean pViewReportAllowed)
Specified by:
setViewReportAllowed in interface TestExec
Parameters:
pViewReportAllowed - new value of whether a test's execution report can be viewed

setChildTestExecList

public void setChildTestExecList(TestExecList childExecList)
Description copied from interface: TestExec
Sets the list of child executions for this test if any

Specified by:
setChildTestExecList in interface TestExec
Parameters:
childExecList - the list of child executions for this test if any

copy

public void copy(TestExec e)
Description copied from interface: TestExec
Copies contents of the given TestExec object into this object

Specified by:
copy in interface TestExec
Specified by:
copy in class DiagBObjImpl<TestExec>
Parameters:
e - the source TestExec object to copy from

copyT

public void copyT(java.lang.Object pObj)
Description copied from interface: DiagBObj
Copies the contents of the given object into this object

Specified by:
copyT in interface DiagBObj<TestExec>
Parameters:
pObj - the contents of the given object into this object

save

public void save()
Description copied from interface: TestMoniterable
Saves the status and contents of the moniterable to the repository.

Specified by:
save in interface TestMoniterable<TestExec>

setJAXBMetadataStr

protected void setJAXBMetadataStr(java.lang.String pXMLStr)
Description copied from class: DiagJAXBXMLDoc
Sets the marshalled XML document for the metadata in String format

Specified by:
setJAXBMetadataStr in class DiagJAXBXMLDoc<TestExec>
Parameters:
pXMLStr - marshalled XML document

getXmlSourceIdentifier

protected java.lang.String getXmlSourceIdentifier()
Description copied from class: DiagJAXBXMLDocReport
Returns an identifier for the current loaded XML source document

Specified by:
getXmlSourceIdentifier in class DiagJAXBXMLDocReport<TestExec>
Returns:
an identifier for the current loaded XML source document

isDone

public boolean isDone()
Description copied from interface: TestMoniterable
Returns true if the moniterable is done. Otherwise returns false.

Specified by:
isDone in interface TestRunTreeNode
Specified by:
isDone in interface TestMoniterable<TestExec>
Returns:
true if the moniterable is done. Otherwise returns false.

initializeReport

public void initializeReport(java.lang.String pTestName,
                             java.lang.String pTestDisplayName,
                             java.lang.String pTestVersion)
Description copied from interface: TestExec
Initializes the test report

Specified by:
initializeReport in interface TestExec

initializeStepReport

public void initializeStepReport(java.lang.String pStepName,
                                 java.lang.String pExecName,
                                 java.lang.String pExecType)
Description copied from interface: TestExec
Initializes the step report for the given step name

Specified by:
initializeStepReport in interface TestExec
Parameters:
pStepName - name of the step
pExecName - name of the executable that will get executed for the step.
pExecType - type of the executable for the step.

completeStepReport

public void completeStepReport(java.lang.String pStepName)
Description copied from interface: TestExec
Complets the step report for the given step

Specified by:
completeStepReport in interface TestExec
Parameters:
pStepName - name of the step to complete

addChild

public void addChild(TestExec pChild)
Description copied from interface: TestExec
Adds the given TestExec object to the list of this execution's child executions.

Specified by:
addChild in interface TestExec
Parameters:
pChild - child execution to add.

fetch

public void fetch()
Description copied from interface: TestExec
Fetches the details of a particular test execution. Clients must set the execution ID on this object prior to calling this method by calling the setExecutionId() method. This method will also fetch the details of any child executions if available. The fetch will check for view report permission and will load the test report.

Specified by:
fetch in interface TestExec

fetch

public void fetch(boolean pFetchChildExecutions)
Description copied from interface: TestExec
Fetches the details of a particular test execution. Clients must set the execution ID on this object prior to calling this method by calling the setExecutionId() method. This method will also fetch the details of any child executions if pFetchChildExecutions is true. The fetch will check for view report permission and will load the test report.

Specified by:
fetch in interface TestExec
Parameters:
pFetchChildExecutions - if true, this method will additionally, also fetch details of any child executions. Otherwise fetches details for only the current execution.

fetch

public void fetch(boolean pFetchChildExecutions,
                  boolean bLoadReport)
Description copied from interface: TestExec
Fetches the details of a particular test execution. Clients must set the execution ID on this object prior to calling this method by calling the setExecutionId() method. This method will also fetch the details of any child executions if pFetchChildExecutions is true.

Specified by:
fetch in interface TestExec
Parameters:
pFetchChildExecutions - if true, this method will additionally, also fetch details of any child executions. Otherwise fetches details for only the current execution.
bLoadReport - if true, this method will check the view report permission and load the test report if it is allowed.

loadReport

protected void loadReport()
Loads report into JAXB objects from fetched report XML. Loads reports of child executions recursively as well if any exist.


populate

protected void populate(java.lang.String pXMLMetadata)

getChildList

protected java.util.List<DiagJAXBXMLDocReport> getChildList()
Description copied from class: DiagJAXBXMLDocReport
Returns the list of nested entities

Specified by:
getChildList in class DiagJAXBXMLDocReport<TestExec>

translateReport

public void translateReport()
Translates the translatable contents of this report to user's session language.

Specified by:
translateReport in interface TestExec
Overrides:
translateReport in class DiagJAXBXMLDocReport<TestExec>

computeLinksInReport

public void computeLinksInReport()
Description copied from class: DiagJAXBXMLDocReport
Computes links within this report

Specified by:
computeLinksInReport in interface TestExec
Overrides:
computeLinksInReport in class DiagJAXBXMLDocReport<TestExec>

getID

public java.lang.String getID()
Description copied from interface: TestRunTreeNode
Gets the ID for this node. This is normally the run ID for a test run or the execution ID for a test execution.

Specified by:
getID in interface TestRunTreeNode
Returns:
the ID for this node

getName

public java.lang.String getName()
Description copied from interface: TestRunTreeNode
Gets the name for this node. This is the run name for a test run and the test name for a test execution.

Specified by:
getName in interface TestRunTreeNode
Returns:
the name for this node

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: TestRunTreeNode
Gets the display name for this node. This is the run name for a test run. For a test execution node, this is the test display name. For a step node, this is just the step name.

Specified by:
getDisplayName in interface TestRunTreeNode
Returns:
the display name for this node.

getExecStatus

public java.lang.String getExecStatus()
Description copied from interface: TestRunTreeNode
Gets the execution status code for this node

Specified by:
getExecStatus in interface TestRunTreeNode
Returns:
the execution status code for this node.

getDiagStatus

public java.lang.String getDiagStatus()
Description copied from interface: TestRunTreeNode
Gets the diagnostic status code for this node

Specified by:
getDiagStatus in interface TestRunTreeNode
Returns:
the diagnostic status code for this node

getChildren

public java.util.List<TestRunTreeNode> getChildren()
Description copied from interface: TestRunTreeNode
Gets the immediate children for this node. For a run node this is the list of child executions. For an execution node, this is the list of nested child executions (if any).

If the children are already fetch this method will not re-execute a query to the database. If the children are not yet fetched for this node, this method will fetch the children from the database.

Specified by:
getChildren in interface TestRunTreeNode
Returns:
the children for this node.

hasChildren

public boolean hasChildren()
Description copied from interface: DiagTreeNode
Returns a flag to indicate if this node has any children

Specified by:
hasChildren in interface DiagTreeNode
Returns:
true if the node has children. returns false otherwise.

getNodeReportObj

public TestReportExtn getNodeReportObj()
Description copied from interface: TestRunTreeNode
Gets the report for this node. The report is the run report for a run node and the execution report for a test execution node.

Specified by:
getNodeReportObj in interface TestRunTreeNode
Returns:
the report for this node.

getNodeType

public TestRunTreeNode.NodeType getNodeType()
Description copied from interface: TestRunTreeNode
Returns the type of the current node

Specified by:
getNodeType in interface TestRunTreeNode

hasReport

public boolean hasReport()
Description copied from interface: TestRunTreeNode
Checks to see if this node has a report

Specified by:
hasReport in interface TestRunTreeNode
Returns:
true if a report exists for this node. Otherwise returns false.

checkCanceled

public boolean checkCanceled()
Description copied from interface: TestMoniterable
Checks (by querying the repository) if this moniterable has been canceled. If canceled, also sets the canceled status on the current object.

Specified by:
checkCanceled in interface TestMoniterable<TestExec>
Returns:
true if the monitoerable is canceled. Otherwise returns false.

checkDone

public boolean checkDone()
Description copied from interface: TestMoniterable
Checks (by querying the repository) if this moniterable is still running.

Specified by:
checkDone in interface TestMoniterable<TestExec>
Returns:
true if the monitoerable is complete. Otherwise returns false.

getElapsedTime

public java.lang.String getElapsedTime()
Description copied from interface: TestRunTreeNode
Returns the difference between endTime and startTime for this node in "HH:MM:SS" format. If end time is not yet available (e.g. in cases where the run or execution is still in progress) then difference between the current system time and the start time is returned.

Specified by:
getElapsedTime in interface TestRunTreeNode
Returns:
the elapsed time between start time and end time (if end time exists) or between start time and current time in "HH:MM:SS" format.

visitAll

public void visitAll(TestRun.TestRunVisitor pVisitor)
Description copied from interface: TestExec
Traverses this Execution as well as all Exections under this Execution and invokes the appropriate "visit()" method on the TestRunVisitor for each node.

This method initially invokes pVisitor.visit(TestExec) with this execution object. Subsequently, it invokes pVisitor.visit(TestExec) for each nested execution (if any).

Specified by:
visitAll in interface TestExec
Parameters:
pVisitor - TestRunVisitor performing the visit on this run.

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.