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

E22565-02

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

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

public interface TestRunList
extends DiagBObjList<TestRun>


Method Summary
 java.util.List<TestRunTreeNode> asTreeNodes()
          Returns the current list as a list of TestRunTreeNode instances.
 void deleteRuns(boolean pIgnoreInProgress)
          Deletes all the Runs in this list along with all the executions for the runs.
 TestRunList queryRuns(java.lang.String[] pStatusCodes, java.lang.Long pTimeInterval, java.lang.String pRunByUser, java.util.Date pFromDate, java.util.Date pToDate, java.lang.String pRunName, java.lang.String pTestDisplayName)
          Queries the list of test runs with using the given criteria system date.
 
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

asTreeNodes

java.util.List<TestRunTreeNode> asTreeNodes()
Returns the current list as a list of TestRunTreeNode instances. Just a shallow copy of this list is created.

Returns:
the current list as a list of TestRunTreeNode instances.

queryRuns

TestRunList queryRuns(java.lang.String[] pStatusCodes,
                      java.lang.Long pTimeInterval,
                      java.lang.String pRunByUser,
                      java.util.Date pFromDate,
                      java.util.Date pToDate,
                      java.lang.String pRunName,
                      java.lang.String pTestDisplayName)
Queries the list of test runs with using the given criteria system date.

Parameters:
pStatusCodes - status codes
pTimeInterval - time interval
pRunByUser - user the run may be run by
pFromDate - begin date
pToDate - end date
pRunName - run name
Returns:
list of test runs

deleteRuns

void deleteRuns(boolean pIgnoreInProgress)
                throws DiagfwkException
Deletes all the Runs in this list along with all the executions for the runs. Only Runs that are not currently running are deleted.

Parameters:
pIgnoreInProgress - - If true, ignores any runs that are currently in progress. Otherwise, throws DiagfwkException if it encounters any in progress runs.
Throws:
DiagfwkException - if any error occurs while processing the delete.

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.