Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class ConfiguratorUtils {
* @return platform configuration used in current instance of platform
* @since 3.0
*/
@Deprecated
public static IPlatformConfiguration getCurrentPlatformConfiguration() {
// acquire factory service first
BundleContext context = ConfigurationActivator.getBundleContext();
Expand All @@ -69,6 +70,7 @@ public static IPlatformConfiguration getCurrentPlatformConfiguration() {
* is specified, an empty configuration object is returned
* @return platform configuration used in current instance of platform
*/
@Deprecated
public static IPlatformConfiguration getPlatformConfiguration(URL url) throws IOException {
// acquire factory service first
BundleContext context = ConfigurationActivator.getBundleContext();
Expand All @@ -95,6 +97,7 @@ public static IPlatformConfiguration getPlatformConfiguration(URL url) throws IO
* @param loc location of the platform installation. Used to resolve entries in the save location
* @return platform configuration used in current instance of platform
*/
@Deprecated
public static IPlatformConfiguration getPlatformConfiguration(URL url, URL loc) throws IOException {
// acquire factory service first
BundleContext context = ConfigurationActivator.getBundleContext();
Expand All @@ -115,6 +118,7 @@ public static IPlatformConfiguration getPlatformConfiguration(URL url, URL loc)
/**
* @return the URL of this eclipse installation
*/
@Deprecated
public static URL getInstallURL() {
return Utils.getInstallURL();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
*
* @since 2.0
*/
@Deprecated
public interface ISiteEntry {

/**
Expand All @@ -52,7 +53,7 @@
* @return site url
* @since 2.0
*/
public URL getURL();

Check warning on line 56 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns the policy for this site
Expand All @@ -60,7 +61,7 @@
* @return site policy
* @since 2.0
*/
public ISitePolicy getSitePolicy();

Check warning on line 64 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Sets the site policy
Expand All @@ -68,7 +69,7 @@
* @param policy site policy
* @since 2.0
*/
public void setSitePolicy(ISitePolicy policy);

Check warning on line 72 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns a list of features visible on the site. Note, that this is simply a
Expand All @@ -78,7 +79,7 @@
* A feature entry is returned as a path relative to the site URL
* @since 2.0
*/
public String[] getFeatures();

Check warning on line 82 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns a list of plug-ins visible on the site. Note, that this is simply a
Expand All @@ -90,7 +91,7 @@
* A plug-in entry is returned as a path relative to the site URL *
* @since 2.0
*/
public String[] getPlugins();

Check warning on line 94 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns a stamp reflecting the current state of the site. If called repeatedly,
Expand All @@ -100,7 +101,7 @@
* @return site change stamp
* @since 2.0
*/
public long getChangeStamp();

Check warning on line 104 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns a stamp reflecting the current state of the features on the site.
Expand Down Expand Up @@ -132,7 +133,7 @@
* @return <code>true</code> if site can be updated, <code>false</code> otherwise
* @since 2.0
*/
public boolean isUpdateable();

Check warning on line 136 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns an indication whether the site represents an install site
Expand All @@ -142,7 +143,7 @@
* @return <code>true</code> if the site is linked, <code>false</code> otherwise
* @since 2.0
*/
public boolean isNativelyLinked();

Check warning on line 146 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISiteEntry is deprecated, perhaps this member should be marked as deprecated, too?
}

/**
Expand All @@ -167,6 +168,7 @@
*
* @since 2.0
*/
@Deprecated
public interface ISitePolicy {

/**
Expand All @@ -178,21 +180,21 @@
* policy type is interpreted as path entries to included plugin.xml
* or fragment.xml <b>relative</b> to the site URL
*/
public static final int USER_INCLUDE = 0;

Check warning on line 183 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISitePolicy is deprecated, perhaps this member should be marked as deprecated, too?

/**
* User-defined exclusion list. The list associated with this
* policy type is interpreted as path entries to excluded plugin.xml
* or fragment.xml <b>relative</b> to the site URL
*/
public static final int USER_EXCLUDE = 1;

Check warning on line 190 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISitePolicy is deprecated, perhaps this member should be marked as deprecated, too?

/**
* When this site policy is used, only plug-ins specified by the configured features
* are contributed to the runtime.
* @since 3.1
*/
public static final int MANAGED_ONLY = 2;

Check warning on line 197 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISitePolicy is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Return policy type
Expand All @@ -200,7 +202,7 @@
* @return policy type
* @since 2.0
*/
public int getType();

Check warning on line 205 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISitePolicy is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Return policy inclusion/ exclusion list
Expand All @@ -208,7 +210,7 @@
* @return the list as an array
* @since 2.0
*/
public String[] getList();

Check warning on line 213 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISitePolicy is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Set new policy list. The list entries are interpreted based on the policy
Expand All @@ -220,7 +222,7 @@
* @see #USER_EXCLUDE
* @since 2.0
*/
public void setList(String[] list);

Check warning on line 225 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.ISitePolicy is deprecated, perhaps this member should be marked as deprecated, too?
}

/**
Expand All @@ -235,6 +237,7 @@
*
* @since 2.0
*/
@Deprecated
public interface IFeatureEntry {

/**
Expand All @@ -242,14 +245,14 @@
* @return feature identifier
* @since 2.0
*/
public String getFeatureIdentifier();

Check warning on line 248 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns the currently configured version for the feature.
* @return feature version (as string), or <code>null</code>
* @since 2.0
*/
public String getFeatureVersion();

Check warning on line 255 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns the identifier of the feature plug-in for this feature entry.
Expand All @@ -263,7 +266,7 @@
* @return feature identifier (as string), or <code>null</code>
* @since 2.1
*/
public String getFeaturePluginIdentifier();

Check warning on line 269 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns the version of the feature plug-in for this feature
Expand All @@ -277,7 +280,7 @@
* @return feature version (as string), or <code>null</code>
* @since 2.0
*/
public String getFeaturePluginVersion();

Check warning on line 283 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns the application to run when this feature is the
Expand All @@ -285,7 +288,7 @@
* @return application identifier, or <code>null</code>
* @since 2.0
*/
public String getFeatureApplication();

Check warning on line 291 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns URLs to the feature "root" locations. The root
Expand All @@ -295,7 +298,7 @@
* @return array of URLs, or an empty array
* @since 2.0
*/
public URL[] getFeatureRootURLs();

Check warning on line 301 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?

/**
* Returns an indication whether this feature has been defined
Expand All @@ -304,7 +307,7 @@
* <code>false</code> otherwise.
* @since 2.0
*/
public boolean canBePrimary();

Check warning on line 310 in update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler

Potential Programming Problem

LOW: The enclosing type IPlatformConfiguration.IFeatureEntry is deprecated, perhaps this member should be marked as deprecated, too?
}

/**
Expand All @@ -315,6 +318,7 @@
* @return created site entry
* @since 2.0
*/
@Deprecated
public ISiteEntry createSiteEntry(URL url, ISitePolicy policy);

/**
Expand All @@ -327,6 +331,7 @@
* @return created site policy entry
* @since 2.0
*/
@Deprecated
public ISitePolicy createSitePolicy(int type, String[] list);

/**
Expand All @@ -348,6 +353,7 @@
* @return create feature entry
* @since 2.0
*/
@Deprecated
public IFeatureEntry createFeatureEntry(String id, String version, String pluginVersion, boolean primary, String application, URL[] root);

/**
Expand All @@ -371,6 +377,7 @@
* @return create feature entry
* @since 2.1
*/
@Deprecated
public IFeatureEntry createFeatureEntry(String id, String version, String pluginIdentifier, String pluginVersion, boolean primary, String application, URL[] root);

/**
Expand All @@ -380,6 +387,7 @@
* @param entry site entry
* @since 2.0
*/
@Deprecated
public void configureSite(ISiteEntry entry);

/**
Expand All @@ -392,6 +400,7 @@
* the same URL should be replaced (<code>true</code>) or not (<code>false</code>).
* @since 2.0
*/
@Deprecated
public void configureSite(ISiteEntry entry, boolean replace);

/**
Expand All @@ -401,6 +410,7 @@
* @param entry site entry
* @since 2.0
*/
@Deprecated
public void unconfigureSite(ISiteEntry entry);

/**
Expand All @@ -410,6 +420,7 @@
* configured
* @since 2.0
*/
@Deprecated
public ISiteEntry[] getConfiguredSites();

/**
Expand All @@ -419,6 +430,7 @@
* @return matching site entry, or <code>null</code> if no match found
* @since 2.0
*/
@Deprecated
public ISiteEntry findConfiguredSite(URL url);

/**
Expand All @@ -428,13 +440,15 @@
* @param entry feature entry
* @since 2.0
*/
@Deprecated
public void configureFeatureEntry(IFeatureEntry entry);

/**
* Unconfigures the specified feature entry if it exists.
* @param entry feature entry
* @since 2.0
*/
@Deprecated
public void unconfigureFeatureEntry(IFeatureEntry entry);

/**
Expand All @@ -443,6 +457,7 @@
* are configured
* @since 2.0
*/
@Deprecated
public IFeatureEntry[] getConfiguredFeatureEntries();

/**
Expand All @@ -451,6 +466,7 @@
* @return ferature entry, or <code>null</code>.
* @since 2.0
*/
@Deprecated
public IFeatureEntry findConfiguredFeatureEntry(String id);

/**
Expand All @@ -460,6 +476,7 @@
* configuration location could not be determined.
* @since 2.0
*/
@Deprecated
public URL getConfigurationLocation();

/**
Expand All @@ -470,6 +487,7 @@
* @return configuration change stamp
* @since 2.0
*/
@Deprecated
public long getChangeStamp();

/**
Expand Down Expand Up @@ -504,6 +522,7 @@
* @return primary feature identifier, or <code>null</code> if none configured
* @since 2.0
*/
@Deprecated
public String getPrimaryFeatureIdentifier();

/**
Expand All @@ -513,6 +532,7 @@
* @return an array of plug-in path elements (full URL entries), or an empty array.
* @since 2.0
*/
@Deprecated
public URL[] getPluginPath();

/**
Expand Down Expand Up @@ -549,6 +569,7 @@
* otherwise
* @since 2.0
*/
@Deprecated
public boolean isUpdateable();

/**
Expand All @@ -561,6 +582,7 @@
* otherwise
* @since 2.0
*/
@Deprecated
public boolean isTransient();

/**
Expand All @@ -574,6 +596,7 @@
* otherwise
* @since 2.0
*/
@Deprecated
public void isTransient(boolean value);

/**
Expand All @@ -582,12 +605,14 @@
* configuration state, and updates the lists of available plug-ins.
* @since 2.0
*/
@Deprecated
public void refresh();

/**
* Called to save the configuration information
* @since 2.0
*/
@Deprecated
public void save() throws IOException;

/**
Expand All @@ -597,6 +622,7 @@
* @param url save location.
* @since 2.0
*/
@Deprecated
public void save(URL url) throws IOException;

}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public interface IPlatformConfigurationFactory {
*
* @return platform configuration used in current instance of platform
*/
@Deprecated
public IPlatformConfiguration getCurrentPlatformConfiguration();
/**
* Returns a platform configuration object, optionally initialized with previously saved
Expand All @@ -43,6 +44,7 @@ public interface IPlatformConfigurationFactory {
* is specified, an empty configuration object is returned
* @return platform configuration used in current instance of platform
*/
@Deprecated
public IPlatformConfiguration getPlatformConfiguration(URL url) throws IOException;

/**
Expand All @@ -55,5 +57,6 @@ public interface IPlatformConfigurationFactory {
* location
* @return platform configuration used in current instance of platform
*/
@Deprecated
public IPlatformConfiguration getPlatformConfiguration(URL url, URL loc) throws IOException;
}
Loading