1.0.0

org.eclipse.soda.dk.testagent.framework
Interface TestContext

All Known Implementing Classes:
ConfiguredTestContext

public interface TestContext

Version:
1.0.0

Method Summary
 java.util.Dictionary getConfigurationInformation()
          Gets the configuration information (Dictionary) value.
 java.lang.Object getConfigurationInformation(java.lang.String propertyName)
          Return the property value.
 ConfigurationService getConfigurationService()
          Gets the configuration service value.
 NotificationService getNotificationService()
          Gets the notification service value.
 TestSynchronizationService getSynchronizationService()
          Gets the test synchronization service value.
 TestAgentService getTestAgent()
          Gets the test agent (TestAgentService) value.
 void log(int severity, java.lang.String message)
          Log the event.
 void log(int severity, java.lang.String message, java.lang.Throwable exception)
          Log the event.
 

Method Detail

getConfigurationInformation

java.util.Dictionary getConfigurationInformation()
Gets the configuration information (Dictionary) value.

Returns:
The configuration information (Dictionary) value.
See Also:
getConfigurationInformation(String)

getConfigurationInformation

java.lang.Object getConfigurationInformation(java.lang.String propertyName)
Return the property value. The property name (String) parameter.

Parameters:
propertyName - The property name (String) parameter.
Returns:
Results of the get configuration information (Object) value. The property name (String) parameter.
See Also:
getConfigurationInformation()

getConfigurationService

ConfigurationService getConfigurationService()
Gets the configuration service value.

Returns:
The configuration service (ConfigurationService) value.

getNotificationService

NotificationService getNotificationService()
Gets the notification service value.

Returns:
The notification service (NotificationService) value.

getSynchronizationService

TestSynchronizationService getSynchronizationService()
Gets the test synchronization service value.

Returns:
The test synchronization service (TestSynchronizationService) value.

getTestAgent

TestAgentService getTestAgent()
Gets the test agent (TestAgentService) value.

Returns:
The test agent (TestAgentService) value.

log

void log(int severity,
         java.lang.String message)
Log the event. an int defining the severity of the event (should be one of EscObject.LOG_ERROR, LOG_WARNING, LOG_INFO, or LOG_DEBUG) a java.lang.String containing a readable description of the log entry

Parameters:
severity - The severity (int) parameter.
message - The message (String) parameter.
See Also:
log(int,String,Throwable)

log

void log(int severity,
         java.lang.String message,
         java.lang.Throwable exception)
Log the event. an int defining the severity of the event (should be one of EscObject.LOG_ERROR, LOG_WARNING, LOG_INFO, or LOG_DEBUG) a java.lang.String containing a readable description of the log entry the java.lang.Throwable which led to the log entry, may be null

Parameters:
severity - The severity (int) parameter.
message - The message (String) parameter.
exception - The exception (Throwable) parameter.
See Also:
log(int,String)

1.0.0

Copyright (c) 2007 IBM