Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.facade
Interface TestRunTreeNode

All Superinterfaces:
DiagTreeNode
All Known Subinterfaces:
TestExec, TestRun
All Known Implementing Classes:
TestExecImpl, TestRunImpl, TestRunTreeNodeStepImpl

public interface TestRunTreeNode
extends DiagTreeNode

Models a node in the test run tree. Such a node represents either a test execution or a test run.

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/facade/TestRunTreeNode.java /main/8 2009/04/28 20:16:24 ilawler Exp $
Author:
ppradhan

Nested Class Summary
static class TestRunTreeNode.NodeType
          Enumeration of the test run tree node type
 
Method Summary
 java.util.List<TestRunTreeNode> getChildren()
          Gets the immediate children for this node.
 java.lang.String getCreatedBy()
          Returns the created by user id
 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 for this node.
 java.lang.String getExecStatus()
          Gets the execution status code for this node
 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 getRunBy()
          Who ran the run, for now simply another accessor to the created by element.
 java.util.Date getStartTime()
          Gets the start time for this node.
 java.lang.String getStatus()
          Gets the status code for this node.
 java.lang.Boolean getViewReportAllowed()
           
 boolean hasReport()
          Checks to see if this node has a report
 boolean isDone()
          Returns true if this run/execution is complete.
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.DiagTreeNode
hasChildren
 

Method Detail

getID

java.lang.String getID()
Gets the ID for this node. This is normally the run ID for a test run or the execution ID for a test execution.

Returns:
the ID for this node

getName

java.lang.String getName()
Gets the name for this node. This is the run name for a test run and the test name for a test execution.

Returns:
the name for this node

getDisplayName

java.lang.String getDisplayName()
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.

Returns:
the display name for this node.

getStartTime

java.util.Date getStartTime()
Gets the start time for this node. This is the date and time when this run or execution started.

Returns:
the start time for this node.

getEndTime

java.util.Date getEndTime()
Gets the end time for this node. This is the date/time when this run or execution completed.

Returns:
the end time for this node.

getElapsedTime

java.lang.String getElapsedTime()
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.

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.

getStatus

java.lang.String getStatus()
Gets the status code for this node.

Returns:
the status code for this node.

getExecStatus

java.lang.String getExecStatus()
Gets the execution status code for this node

Returns:
the execution status code for this node.

getDiagStatus

java.lang.String getDiagStatus()
Gets the diagnostic status code for this node

Returns:
the diagnostic status code for this node

getNodeReportObj

TestReportExtn getNodeReportObj()
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.

Returns:
the report for this node.

getChildren

java.util.List<TestRunTreeNode> getChildren()
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.

Returns:
the children for this node.

hasReport

boolean hasReport()
Checks to see if this node has a report

Returns:
true if a report exists for this node. Otherwise returns false.

getViewReportAllowed

java.lang.Boolean getViewReportAllowed()
Returns:
true if the current user is allowed to view the report for this node

getNodeType

TestRunTreeNode.NodeType getNodeType()
Returns the type of the current node


isDone

boolean isDone()
Returns true if this run/execution is complete. Returns false otherwise.

Returns:
true if this run/execution is complete. Returns false otherwise.

getCreatedBy

java.lang.String getCreatedBy()
Returns the created by user id

Returns:
the user guid for the user who created this entity

getRunBy

java.lang.String getRunBy()
Who ran the run, for now simply another accessor to the created by element.

Returns:
the user identifier for who ran this Run

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.