|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.mbean.external.DiagnosticsTestFrameworkMXBeanImpl
public class DiagnosticsTestFrameworkMXBeanImpl
JMX API MXBean Implementation
Constructor Summary | |
---|---|
DiagnosticsTestFrameworkMXBeanImpl()
|
Method Summary | |
---|---|
java.lang.String |
getDiagnosticStatusByRunId(java.lang.String runId)
Get the diagnostic status of a test run given its id |
java.lang.String |
getDiagnosticStatusByRunName(java.lang.String runName)
Get the diagnostic status of a test run given its name |
java.lang.String |
getExecutionStatusByRunId(java.lang.String runId)
Get the execution status of a test run given its id |
java.lang.String |
getExecutionStatusByRunName(java.lang.String runName)
Get the execution status of a test run given its name |
java.util.Map<java.lang.String,java.lang.String[]> |
getInputParameters(java.lang.String testName)
get input parameters of a given test. |
java.lang.String |
getODFDashboardURL()
Gets the URL to the Diagnostics Dashboard UI application. |
java.lang.String |
getTestRunReportURL(java.lang.String runId)
Gets the URL to the Run report for the given run ID. |
TestRunStatusSummary[] |
getTestRunStatusesByRunName(java.lang.String runName)
Get an array of test status summary for the matched test runs givn the run name |
java.lang.Boolean |
isTestRunnable(java.lang.String testName)
Check if a test can be run. |
java.util.Map<java.lang.String,java.lang.String[]> |
queryListofTestDef()
get list of diagnostic tests. |
java.lang.String |
run(java.lang.String[] testNames,
java.lang.String[] products,
java.lang.String[] moduleIds,
java.lang.String[] moduleKeys,
java.lang.String[] tagNames,
java.lang.String[] tagValues,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by test names, product, module id, module key, and/or tag name/value pair (one of those must not be null) with the given settings. |
java.lang.String |
runByModuleId(java.lang.String[] moduleIds,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the module id with the given settings. |
java.lang.String |
runByModuleKey(java.lang.String[] moduleKeys,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the module key with the given settings. |
java.lang.String |
runByProduct(java.lang.String[] products,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the product with the given settings. |
java.lang.String |
runByTag(java.lang.String[] tagNames,
java.lang.String[] tagValues,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the tag name/value pair with the given settings. |
java.util.Map<java.lang.String,java.lang.String[]> |
runByTestName(java.lang.String[] testNames,
java.lang.Boolean runPrereq,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.String ADR_Home,
java.lang.String incidentID)
Run tests specified by test names with the given settings and copy the reports to the managed server's ADR location." |
java.lang.String |
runByTestName(java.lang.String[] testNames,
java.lang.String runName,
java.lang.Boolean recurse,
java.lang.Boolean runPrereq,
java.lang.Integer monitorInterval,
java.lang.Integer numThreads,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams,
java.lang.Boolean asynchronous)
Run tests specified by the test names with the given settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiagnosticsTestFrameworkMXBeanImpl()
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.String[]> queryListofTestDef()
DiagnosticsTestFrameworkMXBean
queryListofTestDef
in interface DiagnosticsTestFrameworkMXBean
public java.util.Map<java.lang.String,java.lang.String[]> getInputParameters(java.lang.String testName)
DiagnosticsTestFrameworkMXBean
getInputParameters
in interface DiagnosticsTestFrameworkMXBean
testName
- Name of the test to be checked,
must not be null or empty.
public java.lang.Boolean isTestRunnable(java.lang.String testName)
DiagnosticsTestFrameworkMXBean
isTestRunnable
in interface DiagnosticsTestFrameworkMXBean
testName
- Name of the test to be checked,
must not be null or empty.
public java.util.Map<java.lang.String,java.lang.String[]> runByTestName(java.lang.String[] testNames, java.lang.Boolean runPrereq, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.String ADR_Home, java.lang.String incidentID)
DiagnosticsTestFrameworkMXBean
runByTestName
in interface DiagnosticsTestFrameworkMXBean
testNames
- List of one or more names of the tests to run,
must not be null or empty.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEinputParams
- For each test, a set of parameter values can be fed. Can be null.ADR_Home
- used to construct the ADR location to where the reports will be written.incidentID
- used to construct the ADR location to where the reports will be written.
public java.lang.String runByTestName(java.lang.String[] testNames, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
DiagnosticsTestFrameworkMXBean
runByTestName
in interface DiagnosticsTestFrameworkMXBean
testNames
- List of one or more names of the tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
public java.lang.String runByProduct(java.lang.String[] products, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
DiagnosticsTestFrameworkMXBean
runByProduct
in interface DiagnosticsTestFrameworkMXBean
products
- List of products whose associated tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
public java.lang.String runByModuleId(java.lang.String[] moduleIds, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
DiagnosticsTestFrameworkMXBean
runByModuleId
in interface DiagnosticsTestFrameworkMXBean
moduleIds
- List of module ids whose associated tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
public java.lang.String runByModuleKey(java.lang.String[] moduleKeys, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
DiagnosticsTestFrameworkMXBean
runByModuleKey
in interface DiagnosticsTestFrameworkMXBean
moduleKeys
- List of module keys whose associated tests to run,
must not be null or empty.runName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
public java.lang.String runByTag(java.lang.String[] tagNames, java.lang.String[] tagValues, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
DiagnosticsTestFrameworkMXBean
runByTag
in interface DiagnosticsTestFrameworkMXBean
tagNames
- List of tag names whose associated tests to run,
must not be null or empty.
The size of tagNames must be equal to that of tagValuestagValues
- List of tag value whose associated tests to run,
must not be null or empty.
The size of tagNames must be equal to that of tagValuesrunName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
public java.lang.String run(java.lang.String[] testNames, java.lang.String[] products, java.lang.String[] moduleIds, java.lang.String[] moduleKeys, java.lang.String[] tagNames, java.lang.String[] tagValues, java.lang.String runName, java.lang.Boolean recurse, java.lang.Boolean runPrereq, java.lang.Integer monitorInterval, java.lang.Integer numThreads, java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> inputParams, java.lang.Boolean asynchronous)
DiagnosticsTestFrameworkMXBean
run
in interface DiagnosticsTestFrameworkMXBean
testNames
- List of one or more names of the tests to run.products
- List of products whose associated tests to run.moduleIds
- List of module ids whose associated tests to run.moduleKeys
- List of module keys whose associated tests to run.tagNames
- List of tag names whose associated tests to run.
The size of tagNames must be equal to that of tagValuestagValues
- List of tag values whose associated tests to run.
The size of tagNames must be equal to that of tagValuesrunName
- The name of the test run, if null, this will be generated.recurse
- If TRUE, runs all tests associated with the specified taxonomy
modules and/or diagnostic tags. If FALSE, runs only the tests
immediately associated with the specified taxonomy modules
and/or diagnostic tags. If null, defaults to TRUE.runPrereq
- If TRUE, performs a prerequisite analysis to identify any
prerequisite tests and runs those prior to running the
specified tests. If FALSE, runs only the specified tests.
If null, defaults to FALSEmonitorInterval
- The monitoring interval in seconds. This parameter specifies
the interval in which the status of the run is uploaded to
the test repository. If null, defaults to 30 seconds.numThreads
- The number of parallel threads that should be spawned to
execute tests in this run. Specifying a value of 1 for this
parameter will execute the tests serially. The value must be
between 1 and the value specified in the system property
"oracle.odf.run.maxthreads", or 100 if the system property
is not set. If null, defaults to 5.inputParams
- For each test, a set of parameter values can be fed. Can be null.asynchronous
- If TRUE, tests are run asynchronously. Otherwise, they are run
synchronously. If null, defaults to TRUE
public java.lang.String getDiagnosticStatusByRunId(java.lang.String runId)
DiagnosticsTestFrameworkMXBean
getDiagnosticStatusByRunId
in interface DiagnosticsTestFrameworkMXBean
public java.lang.String getDiagnosticStatusByRunName(java.lang.String runName)
DiagnosticsTestFrameworkMXBean
getDiagnosticStatusByRunName
in interface DiagnosticsTestFrameworkMXBean
public java.lang.String getExecutionStatusByRunId(java.lang.String runId)
DiagnosticsTestFrameworkMXBean
getExecutionStatusByRunId
in interface DiagnosticsTestFrameworkMXBean
public java.lang.String getExecutionStatusByRunName(java.lang.String runName)
DiagnosticsTestFrameworkMXBean
getExecutionStatusByRunName
in interface DiagnosticsTestFrameworkMXBean
public java.lang.String getTestRunReportURL(java.lang.String runId)
DiagnosticsTestFrameworkMXBean
getTestRunReportURL
in interface DiagnosticsTestFrameworkMXBean
runId
- Run ID for which to get the run report URL.
public java.lang.String getODFDashboardURL()
DiagnosticsTestFrameworkMXBean
getODFDashboardURL
in interface DiagnosticsTestFrameworkMXBean
public TestRunStatusSummary[] getTestRunStatusesByRunName(java.lang.String runName)
DiagnosticsTestFrameworkMXBean
getTestRunStatusesByRunName
in interface DiagnosticsTestFrameworkMXBean
runName
- Can contain one or more wild cards(i.e. %)
TestRunStatusSummary
. If no matches are found, it returns an empty array
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |