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

E22565-02

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

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl<TestStats>
      extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.TestStatsImpl
All Implemented Interfaces:
DiagConstants, DiagBObj<TestStats>, TestStats

public class TestStatsImpl
extends DiagBObjImpl<TestStats>
implements TestStats

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/TestStatsImpl.java /main/9 2009/06/05 14:18:09 ppradhan Exp $
Author:
ppradhan

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
 
Constructor Summary
TestStatsImpl()
           
 
Method Summary
 void copy(TestStats t)
           
 void copyT(java.lang.Object pObj)
          Copies the contents of the given object into this object
 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 class oracle.apps.fnd.appltest.diagfwk.engine.impl.DiagBObjImpl
copyCommon, getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.appltest.diagfwk.engine.DiagBObj
getCreatedBy, getCreationDate, getLastUpdateDate, getLastUpdatedBy, getLastUpdateLogin, isCreatedByOracle, setCreatedBy, setCreationDate, setLastUpdateDate, setLastUpdatedBy, setLastUpdateLogin
 

Constructor Detail

TestStatsImpl

public TestStatsImpl()
Method Detail

getTestId

public java.lang.String getTestId()
Description copied from interface: TestStats
Gets the test id

Specified by:
getTestId in interface TestStats
Returns:
the test id

getTotalRun

public int getTotalRun()
Description copied from interface: TestStats
Gets the count of total number of runs for this test

Specified by:
getTotalRun in interface TestStats
Returns:
the count of total number of runs for this test

getTotalFail

public int getTotalFail()
Description copied from interface: TestStats
Gets the count of total number of failures for this test

Specified by:
getTotalFail in interface TestStats
Returns:
the count of total number of failures for this test

getLastStatus

public java.lang.String getLastStatus()
Description copied from interface: TestStats
Gets the last execution status

Specified by:
getLastStatus in interface TestStats
Returns:
the last execution status

getLastExecutionTime

public java.util.Date getLastExecutionTime()
Description copied from interface: TestStats
Gets the last execution time

Specified by:
getLastExecutionTime in interface TestStats
Returns:
the last executoin time

getLastExecutionId

public java.lang.String getLastExecutionId()
Description copied from interface: TestStats
Gets the last execution id

Specified by:
getLastExecutionId in interface TestStats
Returns:
the last execution id

getLastFailureTime

public java.util.Date getLastFailureTime()
Description copied from interface: TestStats
Gets the last failure time

Specified by:
getLastFailureTime in interface TestStats
Returns:
the last failure time

getLastFailExecutionId

public java.lang.String getLastFailExecutionId()
Description copied from interface: TestStats
Gets the last failure execution id

Specified by:
getLastFailExecutionId in interface TestStats
Returns:
the last failure execution id

getResetDate

public java.util.Date getResetDate()
Description copied from interface: TestStats
Gets the date when these statistics were last reset.

Specified by:
getResetDate in interface TestStats
Returns:
the date when these statistics were last reset.

getLastRunId

public java.lang.String getLastRunId()
Description copied from interface: TestStats
Gets the last run id

Specified by:
getLastRunId in interface TestStats
Returns:
the last run id

getLastFailureRunId

public java.lang.String getLastFailureRunId()
Description copied from interface: TestStats
Gets the last failure run id

Specified by:
getLastFailureRunId in interface TestStats
Returns:
the last failure run id

setTestId

public void setTestId(java.lang.String pTestId)
Description copied from interface: TestStats
Sets the test id

Specified by:
setTestId in interface TestStats
Parameters:
pTestId - the test id

setTotalRun

public void setTotalRun(int pTotalRun)
Description copied from interface: TestStats
Sets the total number of executions

Specified by:
setTotalRun in interface TestStats
Parameters:
pTotalRun - the total number of executions

setTotalFail

public void setTotalFail(int pTotalFail)
Description copied from interface: TestStats
Sets the total numer of failed executions

Specified by:
setTotalFail in interface TestStats
Parameters:
pTotalFail - the total number of failed executions

setLastStatus

public void setLastStatus(java.lang.String pLastStatus)
Description copied from interface: TestStats
Sets the last execution status

Specified by:
setLastStatus in interface TestStats
Parameters:
pLastStatus - the last execution status

setLastExecutionTime

public void setLastExecutionTime(java.util.Date pLastExecutionTime)
Description copied from interface: TestStats
Sets the last execution date/time

Specified by:
setLastExecutionTime in interface TestStats
Parameters:
pLastExecutionTime - the last execution date/time

setLastExecutionId

public void setLastExecutionId(java.lang.String pLastExecutionId)
Description copied from interface: TestStats
Sets the last execution id

Specified by:
setLastExecutionId in interface TestStats
Parameters:
pLastExecutionId - the last execution id

setLastFailureTime

public void setLastFailureTime(java.util.Date pLastFailureTime)
Description copied from interface: TestStats
Sets the last failure date/time

Specified by:
setLastFailureTime in interface TestStats
Parameters:
pLastFailureTime - the last failure date/time

setLastFailExecutionId

public void setLastFailExecutionId(java.lang.String pLastFailExecutionId)
Description copied from interface: TestStats
Sets the last failure executoin id

Specified by:
setLastFailExecutionId in interface TestStats
Parameters:
pLastFailExecutionId - last failed execution id

setResetDate

public void setResetDate(java.util.Date pResetDate)
Description copied from interface: TestStats
Sets the reset date

Specified by:
setResetDate in interface TestStats
Parameters:
pResetDate - the reset date

setLastRunId

public void setLastRunId(java.lang.String pLastRunId)
Description copied from interface: TestStats
Sets the last run id

Specified by:
setLastRunId in interface TestStats
Parameters:
pLastRunId - the last run id

setLastFailureRunId

public void setLastFailureRunId(java.lang.String pLastFailureRunId)
Description copied from interface: TestStats
Sets the last failed run id

Specified by:
setLastFailureRunId in interface TestStats
Parameters:
pLastFailureRunId - the last failed run id

copy

public void copy(TestStats t)
Specified by:
copy in interface TestStats
Specified by:
copy in class DiagBObjImpl<TestStats>

copyT

public void copyT(java.lang.Object pObj)
Description copied from interface: DiagBObj
Copies the contents of the given object into this object

Specified by:
copyT in interface DiagBObj<TestStats>
Parameters:
pObj - the contents of the given object into this object

fetch

public void fetch()
Description copied from interface: TestStats
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.

Specified by:
fetch in interface TestStats

fetch

public void fetch(java.lang.String pTestName)
Description copied from interface: TestStats
Fetches the statistics for the given name and populates this object.

Specified by:
fetch in interface TestStats
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.