1.0.0

org.eclipse.soda.dk.testcontroller.config.standard
Class StandardTestConfiguration

java.lang.Object
  extended by org.eclipse.soda.dk.testcontroller.config.standard.StandardTestConfiguration
All Implemented Interfaces:
TestConfigurationService

public class StandardTestConfiguration
extends java.lang.Object
implements TestConfigurationService

Version:
1.0.0

Constructor Summary
StandardTestConfiguration()
           
 
Method Summary
 void createFactoryConfiguration(java.lang.String factoryPid, java.lang.String bundleLocation, java.util.Dictionary properties)
          Create factory configuration with the specified factory pid, bundle location and properties parameters.
 void createOrUpdateConfiguration(java.lang.String pid, java.lang.String bundleLocation, java.util.Dictionary properties)
          Create or update configuration with the specified pid, bundle location and properties parameters.
 void deleteConfigurations(java.lang.String filter)
          Delete configurations with the specified filter parameter.
 TestAgentService[] findTests(java.lang.String filter, java.lang.String className)
          Find tests with the specified filter and class name parameters and return the TestAgentService[] result.
 void setNotificationService(NotificationService notificationService)
          Sets the notification service value.
 void updateConfigurations(java.lang.String filter, java.util.Dictionary properties)
          Update configurations with the specified filter and properties parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardTestConfiguration

public StandardTestConfiguration()
Method Detail

createFactoryConfiguration

public void createFactoryConfiguration(java.lang.String factoryPid,
                                       java.lang.String bundleLocation,
                                       java.util.Dictionary properties)
                                throws java.io.IOException
Create factory configuration with the specified factory pid, bundle location and properties parameters.

Specified by:
createFactoryConfiguration in interface TestConfigurationService
Parameters:
factoryPid - The factory pid (String) parameter.
bundleLocation - The bundle location (String) parameter.
properties - The properties (Dictionary) parameter.
Throws:
java.io.IOException

createOrUpdateConfiguration

public void createOrUpdateConfiguration(java.lang.String pid,
                                        java.lang.String bundleLocation,
                                        java.util.Dictionary properties)
                                 throws java.io.IOException
Create or update configuration with the specified pid, bundle location and properties parameters.

Specified by:
createOrUpdateConfiguration in interface TestConfigurationService
Parameters:
pid - The pid (String) parameter.
bundleLocation - The bundle location (String) parameter.
properties - The properties (Dictionary) parameter.
Throws:
java.io.IOException

deleteConfigurations

public void deleteConfigurations(java.lang.String filter)
                          throws java.io.IOException
Delete configurations with the specified filter parameter.

Specified by:
deleteConfigurations in interface TestConfigurationService
Parameters:
filter - The filter (String) parameter.
Throws:
java.io.IOException
See Also:
updateConfigurations(String,Dictionary)

findTests

public TestAgentService[] findTests(java.lang.String filter,
                                    java.lang.String className)
                             throws java.io.IOException
Find tests with the specified filter and class name parameters and return the TestAgentService[] result.

Specified by:
findTests in interface TestConfigurationService
Parameters:
filter - The filter (String) parameter.
className - The class name (String) parameter.
Returns:
Results of the find tests (TestAgentService[]) value.
Throws:
java.io.IOException

setNotificationService

public void setNotificationService(NotificationService notificationService)
Sets the notification service value.

Specified by:
setNotificationService in interface TestConfigurationService
Parameters:
notificationService - The notification service (NotificationService) parameter.

updateConfigurations

public void updateConfigurations(java.lang.String filter,
                                 java.util.Dictionary properties)
                          throws java.io.IOException
Update configurations with the specified filter and properties parameters.

Specified by:
updateConfigurations in interface TestConfigurationService
Parameters:
filter - The filter (String) parameter.
properties - The properties (Dictionary) parameter.
Throws:
java.io.IOException
See Also:
deleteConfigurations(String)

1.0.0

Copyright (c) 2007 IBM