public final class PluginInstaller
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNKNOWN_HOST_MARKER |
Modifier and Type | Method and Description |
---|---|
static void |
addStateListener(PluginStateListener listener) |
static boolean |
install(InstalledPluginsTableModel model,
java.io.File file,
Consumer<? super PluginInstallCallbackData> callback,
java.awt.Component parent) |
static void |
installAfterRestart(java.io.File sourceFile,
boolean deleteSourceFile,
java.io.File existingPlugin,
IdeaPluginDescriptor descriptor) |
static IdeaPluginDescriptorImpl |
installAndLoadDynamicPlugin(java.io.File file,
java.awt.Component parent,
IdeaPluginDescriptorImpl pluginDescriptor) |
static java.io.File |
installWithoutRestart(java.io.File sourceFile,
IdeaPluginDescriptorImpl descriptor,
java.awt.Component parent) |
static boolean |
prepareToInstall(java.util.List<PluginNode> pluginsToInstall,
java.util.List<? extends IdeaPluginDescriptor> allPlugins,
boolean allowInstallWithoutRestart,
PluginManagerMain.PluginEnabler pluginEnabler,
java.lang.Runnable onSuccess,
ProgressIndicator indicator) |
static boolean |
prepareToUninstall(IdeaPluginDescriptor pluginDescriptor) |
static boolean |
uninstallDynamicPlugin(javax.swing.JComponent parentComponent,
IdeaPluginDescriptor pluginDescriptor,
boolean isUpdate) |
public static final java.lang.String UNKNOWN_HOST_MARKER
public static boolean prepareToInstall(java.util.List<PluginNode> pluginsToInstall, java.util.List<? extends IdeaPluginDescriptor> allPlugins, boolean allowInstallWithoutRestart, PluginManagerMain.PluginEnabler pluginEnabler, java.lang.Runnable onSuccess, ProgressIndicator indicator)
public static boolean prepareToUninstall(IdeaPluginDescriptor pluginDescriptor) throws java.io.IOException
java.io.IOException
public static boolean uninstallDynamicPlugin(javax.swing.JComponent parentComponent, IdeaPluginDescriptor pluginDescriptor, boolean isUpdate)
public static void installAfterRestart(java.io.File sourceFile, boolean deleteSourceFile, java.io.File existingPlugin, IdeaPluginDescriptor descriptor) throws java.io.IOException
java.io.IOException
public static java.io.File installWithoutRestart(java.io.File sourceFile, IdeaPluginDescriptorImpl descriptor, java.awt.Component parent)
public static void addStateListener(PluginStateListener listener)
public static boolean install(InstalledPluginsTableModel model, java.io.File file, Consumer<? super PluginInstallCallbackData> callback, java.awt.Component parent)
public static IdeaPluginDescriptorImpl installAndLoadDynamicPlugin(java.io.File file, java.awt.Component parent, IdeaPluginDescriptorImpl pluginDescriptor)