Package org.eclipse.update.configurator
Interface IPlatformConfigurationFactory
@Deprecated(forRemoval=true,
since="2025-06 (removal in 2027-06 or later)")
public interface IPlatformConfigurationFactory
Deprecated, for removal: This API element is subject to removal in a future version.
The org.eclipse.update component has been replaced by Equinox p2.
This API will be deleted in a future release. See bug 311590 for details.
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
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the current platform configuration.Deprecated, for removal: This API element is subject to removal in a future version.Returns a platform configuration object, optionally initialized with previously saved configuration information.getPlatformConfiguration
(URL url, URL loc) Deprecated, for removal: This API element is subject to removal in a future version.Returns a platform configuration object, optionally initialized with previously saved configuration information.
-
Method Details
-
getCurrentPlatformConfiguration
IPlatformConfiguration getCurrentPlatformConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.Returns the current platform configuration.- Returns:
- platform configuration used in current instance of platform
-
getPlatformConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.Returns a platform configuration object, optionally initialized with previously saved configuration information.- Parameters:
url
- location of previously save configuration information. Ifnull
is specified, an empty configuration object is returned- Returns:
- platform configuration used in current instance of platform
- Throws:
IOException
-
getPlatformConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.Returns a platform configuration object, optionally initialized with previously saved configuration information.- Parameters:
url
- location of previously save configuration information. Ifnull
is specified, an empty configuration object is returnedloc
- location of the platform installation. Used to resolve entries in the saved location- Returns:
- platform configuration used in current instance of platform
- Throws:
IOException
-