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

E22565-02

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

All Superinterfaces:
DiagBObj<TestStats>, DiagConstants
All Known Implementing Classes:
TestStatsImpl

public interface TestStats
extends DiagBObj<TestStats>

Models the stastical metrics for a single test.


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 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
 
Method Summary
 void copy(TestStats t)
           
 void fetch()
          Fetches the statistics for a particular test ID and populates this object.
 void fetch(java.lang.String pTestName)
          Fetches the statistics for the given name and populates this object.
 java.lang.String getLastExecutionId()
          Gets the last execution id
 java.util.Date getLastExecutionTime()
          Gets the last execution time
 java.lang.String getLastFailExecutionId()
          Gets the last failure execution id
 java.lang.String getLastFailureRunId()
          Gets the last failure run id
 java.util.Date getLastFailureTime()
          Gets the last failure time
 java.lang.String getLastRunId()
          Gets the last run id
 java.lang.String getLastStatus()
          Gets the last execution status
 java.util.Date getResetDate()
          Gets the date when these statistics were last reset.
 java.lang.String getTestId()
          Gets the test id
 int getTotalFail()
          Gets the count of total number of failures for this test
 int getTotalRun()
          Gets the count of total number of runs for this test
 void setLastExecutionId(java.lang.String pLastExecutionId)
          Sets the last execution id
 void setLastExecutionTime(java.util.Date pLastExecutionTime)
          Sets the last execution date/time
 void setLastFailExecutionId(java.lang.String pLastFailExecutionId)
          Sets the last failure executoin id
 void setLastFailureRunId(java.lang.String pLastFailureRunId)
          Sets the last failed run id
 void setLastFailureTime(java.util.Date pLastFailureTime)
          Sets the last failure date/time
 void setLastRunId(java.lang.String pLastRunId)
          Sets the last run id
 void setLastStatus(java.lang.String pLastStatus)
          Sets the last execution status
 void setResetDate(java.util.Date pResetDate)
          Sets the reset date
 void setTestId(java.lang.String pTestId)
          Sets the test id
 void setTotalFail(int pTotalFail)
          Sets the total numer of failed executions
 void setTotalRun(int pTotalRun)
          Sets the total number of executions
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObj
copyT, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 

Method Detail

getTestId

java.lang.String getTestId()
Gets the test id

Returns:
the test id

getTotalRun

int getTotalRun()
Gets the count of total number of runs for this test

Returns:
the count of total number of runs for this test

getTotalFail

int getTotalFail()
Gets the count of total number of failures for this test

Returns:
the count of total number of failures for this test

getLastStatus

java.lang.String getLastStatus()
Gets the last execution status

Returns:
the last execution status

getLastExecutionTime

java.util.Date getLastExecutionTime()
Gets the last execution time

Returns:
the last executoin time

getLastExecutionId

java.lang.String getLastExecutionId()
Gets the last execution id

Returns:
the last execution id

getLastFailureTime

java.util.Date getLastFailureTime()
Gets the last failure time

Returns:
the last failure time

getLastFailExecutionId

java.lang.String getLastFailExecutionId()
Gets the last failure execution id

Returns:
the last failure execution id

getResetDate

java.util.Date getResetDate()
Gets the date when these statistics were last reset.

Returns:
the date when these statistics were last reset.

getLastRunId

java.lang.String getLastRunId()
Gets the last run id

Returns:
the last run id

getLastFailureRunId

java.lang.String getLastFailureRunId()
Gets the last failure run id

Returns:
the last failure run id

setTestId

void setTestId(java.lang.String pTestId)
Sets the test id

Parameters:
pTestId - the test id

setTotalRun

void setTotalRun(int pTotalRun)
Sets the total number of executions

Parameters:
pTotalRun - the total number of executions

setTotalFail

void setTotalFail(int pTotalFail)
Sets the total numer of failed executions

Parameters:
pTotalFail - the total number of failed executions

setLastStatus

void setLastStatus(java.lang.String pLastStatus)
Sets the last execution status

Parameters:
pLastStatus - the last execution status

setLastExecutionTime

void setLastExecutionTime(java.util.Date pLastExecutionTime)
Sets the last execution date/time

Parameters:
pLastExecutionTime - the last execution date/time

setLastExecutionId

void setLastExecutionId(java.lang.String pLastExecutionId)
Sets the last execution id

Parameters:
pLastExecutionId - the last execution id

setLastFailureTime

void setLastFailureTime(java.util.Date pLastFailureTime)
Sets the last failure date/time

Parameters:
pLastFailureTime - the last failure date/time

setLastFailExecutionId

void setLastFailExecutionId(java.lang.String pLastFailExecutionId)
Sets the last failure executoin id

Parameters:
pLastFailExecutionId - last failed execution id

setResetDate

void setResetDate(java.util.Date pResetDate)
Sets the reset date

Parameters:
pResetDate - the reset date

setLastRunId

void setLastRunId(java.lang.String pLastRunId)
Sets the last run id

Parameters:
pLastRunId - the last run id

setLastFailureRunId

void setLastFailureRunId(java.lang.String pLastFailureRunId)
Sets the last failed run id

Parameters:
pLastFailureRunId - the last failed run id

copy

void copy(TestStats t)

fetch

void fetch()
Fetches the statistics for a particular test ID and populates this object. The test ID must be set on this object prior to calling this method by calling the setTestId() method.


fetch

void fetch(java.lang.String pTestName)
Fetches the statistics for the given name and populates this object.

Parameters:
pTestName - name of the test for which to fetch the statistics.

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

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.