1.0.0

org.eclipse.soda.dk.testmanager
Class TestStatistics

java.lang.Object
  extended by org.eclipse.soda.dk.testmanager.TestStatistics
All Implemented Interfaces:
TestStatisticsService

public class TestStatistics
extends java.lang.Object
implements TestStatisticsService

Since:
1.0
Version:
1.2.0

Field Summary
 
Fields inherited from interface org.eclipse.soda.dk.testmanager.service.TestStatisticsService
STATS_CONFIGURATION_COUNT, STATS_CONFIGURATION_ERROR_COUNT, STATS_SCRIPT_ERROR_COUNT, STATS_TEST_CASE_COUNT, STATS_TEST_CASE_ERROR_COUNT, STATS_TEST_CASE_FAILED_COUNT, STATS_TEST_COUNT, STATS_TEST_ERROR_COUNT
 
Constructor Summary
TestStatistics()
          Constructs an instance of this class.
 
Method Summary
 int getCount(java.lang.String key)
          Get count with the specified key parameter and return the int result.
 java.lang.Integer getValue(java.lang.String key)
          Get value with the specified key parameter and return the Integer result.
 void incrementCount(java.lang.String key, int incr)
          Increment count with the specified key and incr parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestStatistics

public TestStatistics()
Constructs an instance of this class.

Method Detail

getCount

public int getCount(java.lang.String key)
Get count with the specified key parameter and return the int result.

Specified by:
getCount in interface TestStatisticsService
Parameters:
key - The key (String) parameter.
Returns:
Results of the get count (int) value.
See Also:
incrementCount(String,int)

getValue

public java.lang.Integer getValue(java.lang.String key)
Get value with the specified key parameter and return the Integer result.

Specified by:
getValue in interface TestStatisticsService
Parameters:
key - The key (String) parameter.
Returns:
Results of the get value (Integer) value.

incrementCount

public void incrementCount(java.lang.String key,
                           int incr)
Increment count with the specified key and incr parameters.

Specified by:
incrementCount in interface TestStatisticsService
Parameters:
key - The key (String) parameter.
incr - The incr (int) parameter.
See Also:
getCount(String)

1.0.0

Copyright (c) 2007, 2009 IBM