public final class RepositoryHelper
extends java.lang.Object
Constructor and Description |
---|
RepositoryHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getPluginHosts()
Returns a list of configured plugin hosts.
|
static java.util.List<IdeaPluginDescriptor> |
loadCachedPlugins()
Reads cached plugin descriptors from a file.
|
static java.util.List<IdeaPluginDescriptor> |
loadPlugins(ProgressIndicator indicator)
Loads list of plugins, compatible with a current build, from a main plugin repository.
|
static java.util.List<IdeaPluginDescriptor> |
loadPlugins(java.lang.String repositoryUrl,
BuildNumber build,
ProgressIndicator indicator) |
static java.util.List<IdeaPluginDescriptor> |
loadPlugins(java.lang.String repositoryUrl,
ProgressIndicator indicator) |
static java.util.List<IdeaPluginDescriptor> |
loadPluginsFromAllRepositories(ProgressIndicator indicator)
Loads list of plugins, compatible with a current build, from all configured repositories
|
public static java.util.List<java.lang.String> getPluginHosts()
null
element denoting a main plugin repository.public static java.util.List<IdeaPluginDescriptor> loadPluginsFromAllRepositories(ProgressIndicator indicator)
public static java.util.List<IdeaPluginDescriptor> loadPlugins(ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
public static java.util.List<IdeaPluginDescriptor> loadPlugins(java.lang.String repositoryUrl, ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
public static java.util.List<IdeaPluginDescriptor> loadPlugins(java.lang.String repositoryUrl, BuildNumber build, ProgressIndicator indicator) throws java.io.IOException
java.io.IOException
public static java.util.List<IdeaPluginDescriptor> loadCachedPlugins() throws java.io.IOException
null
if cache file does not exist.java.io.IOException