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

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine
Interface TestPrereqList

All Superinterfaces:
java.util.Collection<TestPrereq>, DiagBObjList<TestPrereq>, java.lang.Iterable<TestPrereq>, java.util.List<TestPrereq>
All Known Implementing Classes:
TestPrereqListImpl

public interface TestPrereqList
extends DiagBObjList<TestPrereq>

Since:
release specific (what release of product did this appear in)
Version:
$Header: TestPrereqList.java 19-oct-2007.17:23:02 ppradhan Exp $
Author:
ppradhan

Method Summary
 void addPrereq(BaseType p, java.lang.String pSourceTestName)
          Adds a TestPrereq object to this list based on the JAXB object passed as parameter.
 java.util.List<java.lang.String> getIds()
          Returns a list of IDs for the test prerequisites in this list
 TestPrereqList getPrereqs(java.lang.String pType)
          Returns a sub list of this list containing prereqs that are of the given type
 java.lang.String resolvePrereqTestIds()
          For each prereq in this list that is a test, attempts to resolve the test ID for the test by querying the repository.
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObjList
copy, elemInstance
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

addPrereq

void addPrereq(BaseType p,
               java.lang.String pSourceTestName)
Adds a TestPrereq object to this list based on the JAXB object passed as parameter. The JAXB object can be either of TestType or TagValueIdType

Parameters:
p - Either a TestType or TagValueIdType JAXB object that represents a prereq for a test.

resolvePrereqTestIds

java.lang.String resolvePrereqTestIds()
For each prereq in this list that is a test, attempts to resolve the test ID for the test by querying the repository. If a test ID is found it is set by calling the setPrereqId() method on the TestPrereq object.

Returns:
A comma delimited list of test names for which test IDs could not be resolved.

getPrereqs

TestPrereqList getPrereqs(java.lang.String pType)
Returns a sub list of this list containing prereqs that are of the given type

Parameters:
pType - type of prereq
Returns:
list of prereqs from this list that are of the given type

getIds

java.util.List<java.lang.String> getIds()
Returns a list of IDs for the test prerequisites in this list

Returns:
a list of IDs only for the prerequisites in this list.

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.