Package net.runelite.client.plugins
Class PluginManager
- java.lang.Object
-
- net.runelite.client.plugins.PluginManager
-
@Singleton public class PluginManager extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Plugin plugin)
List<Plugin>
conflictsForPlugin(Plugin plugin)
List<Config>
getPluginConfigProxies(Collection<Plugin> plugins)
Config
getPluginConfigProxy(Plugin plugin)
Collection<Plugin>
getPlugins()
boolean
isPluginEnabled(Plugin plugin)
void
loadCorePlugins()
void
loadDefaultPluginConfiguration(Collection<Plugin> plugins)
List<Plugin>
loadPlugins(List<Class<?>> plugins, BiConsumer<Integer,Integer> onPluginLoaded)
void
loadSideLoadPlugins()
void
onProfileChanged(ProfileChanged profileChanged)
void
remove(Plugin plugin)
void
setOutdated(boolean isOutdated)
void
setPluginEnabled(Plugin plugin, boolean enabled)
boolean
startPlugin(Plugin plugin)
void
startPlugins()
boolean
stopPlugin(Plugin plugin)
-
-
-
Method Detail
-
onProfileChanged
@Subscribe public void onProfileChanged(ProfileChanged profileChanged)
-
getPluginConfigProxies
public List<Config> getPluginConfigProxies(Collection<Plugin> plugins)
-
loadDefaultPluginConfiguration
public void loadDefaultPluginConfiguration(Collection<Plugin> plugins)
-
startPlugins
public void startPlugins()
-
loadCorePlugins
public void loadCorePlugins() throws IOException, PluginInstantiationException
-
loadSideLoadPlugins
public void loadSideLoadPlugins()
-
loadPlugins
public List<Plugin> loadPlugins(List<Class<?>> plugins, BiConsumer<Integer,Integer> onPluginLoaded) throws PluginInstantiationException
- Throws:
PluginInstantiationException
-
startPlugin
public boolean startPlugin(Plugin plugin) throws PluginInstantiationException
- Throws:
PluginInstantiationException
-
stopPlugin
public boolean stopPlugin(Plugin plugin) throws PluginInstantiationException
- Throws:
PluginInstantiationException
-
setPluginEnabled
public void setPluginEnabled(Plugin plugin, boolean enabled)
-
isPluginEnabled
public boolean isPluginEnabled(Plugin plugin)
-
add
public void add(Plugin plugin)
-
remove
public void remove(Plugin plugin)
-
getPlugins
public Collection<Plugin> getPlugins()
-
setOutdated
public void setOutdated(boolean isOutdated)
-
-