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

E22565-02

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

All Superinterfaces:
DiagTreeNode
All Known Implementing Classes:
TestDefImpl, TestTreeNodeJavaStepImpl, TestTreeNodePLSQLStepImpl

public interface TestTreeNode
extends DiagTreeNode

Modes a node in the test definition tree. This interface is mainly for use by the UI to render a heirarchical view of the test definition. A node within the test definition tree can be a test or a step.

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/TestTreeNode.java /main/3 2008/08/13 15:09:36 ilawler Exp $
Author:
ppradhan

Nested Class Summary
static class TestTreeNode.NodeType
          Enumeration of the test tree node type
 
Method Summary
 java.util.List<TestTreeNode> getChildren()
          Returns the immediate children for this test tree node.
 java.lang.Boolean getExecuteAllowed()
           
 java.lang.String getImplName()
          Gets the implementation name for the node.
 java.lang.String getInputsStatus()
          Returns the inputs status code for this node if this is a test node.
 java.lang.String getNodeDisplayName()
          Gets the display name for the node.
 java.lang.String getNodeName()
          Gets the name of the node.
 boolean getNodeSelected()
           
 TestTreeNode.NodeType getNodeType()
          Returns the type of the node i.e.
 int getPrereqTestCount()
          Returns the count of the number of immediate prerequisites that are directly associated with the current test if this node is a test node.
 java.lang.Boolean getViewReportAllowed()
           
 void setChildren(java.util.List<TestTreeNode> pChildren)
          Sets the list of child nodes for this node.
 void setImplName(java.lang.String pImplName)
          Sets the implementation name for this test tree node
 void setNodeDisplayName(java.lang.String pNodeDisplayName)
          Sets the display name for the node.
 void setNodeName(java.lang.String pName)
          Sets the name for this tree node
 void setNodeSelected(boolean nodeSelected)
          Sets whether a node as being selected in the test tree
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.facade.DiagTreeNode
hasChildren
 

Method Detail

getNodeName

java.lang.String getNodeName()
Gets the name of the node. This is either the test name (for a top level test) or the step name for child nodes.

Returns:
the name of the node.

getNodeDisplayName

java.lang.String getNodeDisplayName()
Gets the display name for the node. This is the test display name (for top level tests). For step nodes, this just returns the step name.

Returns:
the display name for the node

getImplName

java.lang.String getImplName()
Gets the implementation name for the node. This is either the name of the test (if the step is a test reference) or a Java class name (if the step is a Java test step).

Returns:
the name of the implementation of the node.

getChildren

java.util.List<TestTreeNode> getChildren()
Returns the immediate children for this test tree node. Use this API to traverse the tree for a particular test.

Note: this API will perform a query in order to fetch the children (if not already available).

Returns:
the immediate children for this node.

setNodeName

void setNodeName(java.lang.String pName)
Sets the name for this tree node

Parameters:
pName - the name for this tree node

setNodeDisplayName

void setNodeDisplayName(java.lang.String pNodeDisplayName)
Sets the display name for the node. This is the test display name (for top level tests). For step nodes, this just returns the step name.

Parameters:
pNodeDisplayName - the display name for the node

setImplName

void setImplName(java.lang.String pImplName)
Sets the implementation name for this test tree node

Parameters:
pImplName - the implementation name for this test tree node.

setChildren

void setChildren(java.util.List<TestTreeNode> pChildren)
Sets the list of child nodes for this node.

Parameters:
pChildren - list of child nodes for this node.

getNodeType

TestTreeNode.NodeType getNodeType()
Returns the type of the node i.e. whether the node is either a test or a step

Returns:
type of the node i.e. whether the node is either a test or a step.

getPrereqTestCount

int getPrereqTestCount()
Returns the count of the number of immediate prerequisites that are directly associated with the current test if this node is a test node. Otherwise, returns -1 if this node is a step node.

Returns:
the count of the number of immediate prerequisites that are directly associated with the current test if this node is a test node. Otherwise, returns -1 if this node is a step node.
See Also:
TestDef.getPrereqTestCount()

getInputsStatus

java.lang.String getInputsStatus()
Returns the inputs status code for this node if this is a test node. Otherwise returns null, if this node is a step node.

Returns:
the inputs status code for this node if this is a test node.
See Also:
TestDef.getInputsStatus()

getExecuteAllowed

java.lang.Boolean getExecuteAllowed()
Returns:
whether execution of the test is allowed

getViewReportAllowed

java.lang.Boolean getViewReportAllowed()
Returns:
whether viewing a test's execution report is allowed

getNodeSelected

boolean getNodeSelected()
Returns:
whether a node is selected in the test tree

setNodeSelected

void setNodeSelected(boolean nodeSelected)
Sets whether a node as being selected in the test tree

Parameters:
nodeSelected -

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.