Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

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

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<TestPrereq>
                  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestPrereqListImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<TestPrereq>, java.util.Collection<TestPrereq>, java.util.List<TestPrereq>, java.util.RandomAccess, DiagConstants, DiagBObjList<TestPrereq>, TestPrereqList

public class TestPrereqListImpl
extends DiagBObjListImpl<TestPrereq>
implements TestPrereqList

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/TestPrereqListImpl.java /main/8 2009/06/05 14:18:09 ppradhan 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
TestPrereqListImpl()
           
 
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.
 TestPrereq elemInstance()
          Creates an instance of an element for this list
 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
 TestPrereq getPrereqTagValueId(java.lang.String pTagValueId)
          Returns a TestPrereq from this list of type tag value and with the given tag value id.
 TestPrereq getPrereqTest(java.lang.String pTestName)
          Returns a prerequisite test with the given test name from this list if such a prereq exists.
 TestPrereq getTestPrereq(java.lang.String pPrereqId)
           
 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 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

TestPrereqListImpl

public TestPrereqListImpl()
Method Detail

addPrereq

public void addPrereq(BaseType p,
                      java.lang.String pSourceTestName)
Description copied from interface: TestPrereqList
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

Specified by:
addPrereq in interface TestPrereqList
Parameters:
p - Either a TestType or TagValueIdType JAXB object that represents a prereq for a test.

getPrereqTest

public TestPrereq getPrereqTest(java.lang.String pTestName)
Returns a prerequisite test with the given test name from this list if such a prereq exists. Otherwise returns null.

Parameters:
pTestName - name of the prerequisite test
Returns:
a prerequisite test with the given test name from this list if such a prereq exists. Otherwise returns null.

getTestPrereq

public TestPrereq getTestPrereq(java.lang.String pPrereqId)

getPrereqTagValueId

public TestPrereq getPrereqTagValueId(java.lang.String pTagValueId)
Returns a TestPrereq from this list of type tag value and with the given tag value id.

Parameters:
pTagValueId - tag value id of the prerequisite
Returns:
TestPrereq from this list of type tag value and with the given tag value id.

resolvePrereqTestIds

public 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.

Specified by:
resolvePrereqTestIds in interface TestPrereqList
Returns:
A comma delimited list of test names for which test IDs could not be resolved.

getPrereqs

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

Specified by:
getPrereqs in interface TestPrereqList
Parameters:
pType - type of prereq
Returns:
list of prereqs from this list that are of the given type

getIds

public java.util.List<java.lang.String> getIds()
Description copied from interface: TestPrereqList
Returns a list of IDs for the test prerequisites in this list

Specified by:
getIds in interface TestPrereqList
Returns:
a list of IDs only for the prerequisites in this list.

elemInstance

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

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

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.