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

E22565-02

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

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjListImpl<TestRun>
                  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestRunListImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<TestRun>, java.util.Collection<TestRun>, java.util.List<TestRun>, java.util.RandomAccess, DiagConstants, DiagBObjList<TestRun>, TestRunList

public class TestRunListImpl
extends DiagBObjListImpl<TestRun>
implements TestRunList

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/TestRunListImpl.java /main/11 2009/04/28 20:16:23 ilawler Exp $
Author:
ppradhan
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
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
TestRunListImpl()
           
 
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.
 TestRun elemInstance()
          Creates an instance of an element for this list
 java.lang.String[] getRunIds()
           
 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 class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjListImpl
copy, copyBObjList
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObjList
copy
 
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
 

Constructor Detail

TestRunListImpl

public TestRunListImpl()
Method Detail

getRunIds

public java.lang.String[] getRunIds()

elemInstance

public TestRun elemInstance()
Description copied from class: DiagBObjListImpl
Creates an instance of an element for this list

Specified by:
elemInstance in interface DiagBObjList<TestRun>
Specified by:
elemInstance in class DiagBObjListImpl<TestRun>
Returns:
an instance of an element (of the right type) for this list.

asTreeNodes

public java.util.List<TestRunTreeNode> asTreeNodes()
Description copied from interface: TestRunList
Returns the current list as a list of TestRunTreeNode instances. Just a shallow copy of this list is created.

Specified by:
asTreeNodes in interface TestRunList
Returns:
the current list as a list of TestRunTreeNode instances.

queryRuns

public 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)
Description copied from interface: TestRunList
Queries the list of test runs with using the given criteria system date.

Specified by:
queryRuns in interface TestRunList
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

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

Specified by:
deleteRuns in interface TestRunList
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.