org.eclipse.update.configurator
Interface IPlatformConfigurationFactory


public interface IPlatformConfigurationFactory

Factory for creating platform configurations.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Method Summary
 IPlatformConfiguration getCurrentPlatformConfiguration()
          Returns the current platform configuration.
 IPlatformConfiguration getPlatformConfiguration(java.net.URL url)
          Returns a platform configuration object, optionally initialized with previously saved configuration information.
 

Method Detail

getCurrentPlatformConfiguration

IPlatformConfiguration getCurrentPlatformConfiguration()
Returns the current platform configuration.

Returns:
platform configuration used in current instance of platform

getPlatformConfiguration

IPlatformConfiguration getPlatformConfiguration(java.net.URL url)
                                                throws java.io.IOException
Returns a platform configuration object, optionally initialized with previously saved configuration information.

Parameters:
url - location of previously save configuration information. If null is specified, an empty configuration object is returned
Returns:
platform configuration used in current instance of platform
Throws:
java.io.IOException