| 
 | Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.appltest.diagfwk.engine.DiagCmdRunTests.ExecArg
public abstract static class DiagCmdRunTests.ExecArg
Internal class to model an argument name value pair that represents an executable entity.
| 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 | |
|---|---|
| protected  DiagCmdRunTests.ChainedTestListSet | mChainedTestListSet | 
| protected  java.lang.Boolean | mHasTestRequiringApplicationCode | 
| protected  java.util.List<java.util.concurrent.Future> | mLastSubmitted | 
| protected  java.lang.String | mOrgArgName | 
| protected  java.lang.String | mOrgArgValue | 
| protected  TagDAO | mTagDAO | 
| protected  TestDefDAO | mTestDefDAO | 
| Fields inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagCmdConstants | 
|---|
| DELIM_VALUE, PARAM_APP, PARAM_CHILD_REPORTS, PARAM_CONNECT_STR, PARAM_DB_PWD, PARAM_DB_UN, PARAM_DESTDIR, PARAM_DIR, PARAM_EXEC_MODE, PARAM_EXECID, PARAM_FORMAT, PARAM_HELP, PARAM_LANG, PARAM_MAKESUBDIR, PARAM_MODID, PARAM_MODKEY, PARAM_NTHREADS, PARAM_PREREQ, PARAM_PRINTTOCONSOLE, PARAM_PRINTTREE, PARAM_PWD, PARAM_QUERY, PARAM_RECURSE, PARAM_REGISTER, PARAM_REPORT, PARAM_RUN_LOCALLY, PARAM_RUN_NAME, PARAM_RUNID, PARAM_RUNTEST, PARAM_STATUS, PARAM_TEST, PARAM_TESTFILE, PARAM_TOKEN_INPUT, PARAM_TOKEN_TAG, PARAM_TRANSLATE, PARAM_USERNAME, PARAM_VALIDATE_ONLY, PARAM_WAITFORCOMPLETION, PARAM_WRITETOFILE, PRE_POPULATED_EXECID | 
| Constructor Summary | |
|---|---|
| DiagCmdRunTests.ExecArg() | |
| Method Summary | |
|---|---|
|  void | executeNextSet(java.util.concurrent.ExecutorService pExecThreadPool,
               java.util.concurrent.ExecutorService pMonThreadPool,
               TestRun pRun,
               java.util.Map<java.lang.String,NameValueList> pInputs,
               boolean pWorkerMode,
               boolean pRunLocally,
               java.lang.String pExecMode,
               DiagCmdRunTests.TestDefCacheHandler handler)Executes the next set of tests if available | 
|  java.lang.String | getOrgArgName()Gets the original argument name | 
|  java.lang.String | getOrgArgValue()Gets the original argument value | 
|  boolean | hasMoreSets()Returns true if there are more sets to be executed. | 
|  boolean | hasTestRequiringApplicationCode(DiagCmdRunTests.TestDefCacheHandler handler) | 
| protected  void | init(java.lang.String pOrgArgName,
     java.lang.String pOrgArgValue) | 
|  boolean | isReady()Checks if this argument is ready for execution of the next set of tests | 
| static java.util.List<? extends DiagCmdRunTests.ExecArg> | makeExecArgs(NameValue pParam)Given a NameValue parameter (to the run command) converts it to a list of ExecArg elements. | 
|  DiagCmdRunTests.TestListSet | nextSet()Returns the next set of test lists that can be executed for this arg. | 
| abstract  void | resolveIdentifier()Based on the original argument value, resolves the arg value to an identifier for an executable entity i.e. | 
| abstract  void | resolveTests(boolean prereqs,
             boolean recurse,
             DiagCmdRunTests.TestDefCacheHandler handler)Resolves the tests that would need to be run when executing this argument. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.lang.String mOrgArgName
protected java.lang.String mOrgArgValue
protected DiagCmdRunTests.ChainedTestListSet mChainedTestListSet
protected java.util.List<java.util.concurrent.Future> mLastSubmitted
protected TagDAO mTagDAO
protected TestDefDAO mTestDefDAO
protected java.lang.Boolean mHasTestRequiringApplicationCode
| Constructor Detail | 
|---|
public DiagCmdRunTests.ExecArg()
| Method Detail | 
|---|
protected void init(java.lang.String pOrgArgName,
                    java.lang.String pOrgArgValue)
public java.lang.String getOrgArgName()
public java.lang.String getOrgArgValue()
public DiagCmdRunTests.TestListSet nextSet()
public boolean hasMoreSets()
public boolean isReady()
public boolean hasTestRequiringApplicationCode(DiagCmdRunTests.TestDefCacheHandler handler)
public void executeNextSet(java.util.concurrent.ExecutorService pExecThreadPool,
                           java.util.concurrent.ExecutorService pMonThreadPool,
                           TestRun pRun,
                           java.util.Map<java.lang.String,NameValueList> pInputs,
                           boolean pWorkerMode,
                           boolean pRunLocally,
                           java.lang.String pExecMode,
                           DiagCmdRunTests.TestDefCacheHandler handler)
public abstract void resolveIdentifier()
public abstract void resolveTests(boolean prereqs,
                                  boolean recurse,
                                  DiagCmdRunTests.TestDefCacheHandler handler)
prereqs - - indicates whether or not prerequisites 
 should be included during the resolution processrecurse - - indicates whether or not tests should 
 be resolved recursively. This flag applies to exec arguments
 that represent tag values.handler - - to get the TestDef from the cache for the current
 test runpublic static java.util.List<? extends DiagCmdRunTests.ExecArg> makeExecArgs(NameValue pParam)
| 
 | Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||