1.0.0

org.eclipse.soda.dk.testcontroller.service
Interface TestConfigurationService

All Known Implementing Classes:
OSGiTestConfiguration, StandardTestConfiguration

public interface TestConfigurationService

Version:
1.0.0

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.
 

Method Detail

createFactoryConfiguration

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.

Parameters:
factoryPid - The factory pid (String) parameter.
bundleLocation - The bundle location (String) parameter.
properties - The properties (Dictionary) parameter.
Throws:
java.io.IOException

createOrUpdateConfiguration

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.

Parameters:
pid - The pid (String) parameter.
bundleLocation - The bundle location (String) parameter.
properties - The properties (Dictionary) parameter.
Throws:
java.io.IOException

deleteConfigurations

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

Parameters:
filter - The filter (String) parameter.
Throws:
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException
See Also:
updateConfigurations(String,Dictionary)

findTests

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

Parameters:
filter - The filter (String) parameter.
className - The class name (String) parameter.
Returns:
Results of the find tests (TestAgentService[]) value.
Throws:
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException

setNotificationService

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

Parameters:
notificationService - The notification service (NotificationService) parameter.

updateConfigurations

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

Parameters:
filter - The filter (String) parameter.
properties - The properties (Dictionary) parameter.
Throws:
InvalidSyntaxException - Invalid Syntax Exception.
java.io.IOException
See Also:
deleteConfigurations(String)

1.0.0

Copyright (c) 2007 IBM