public interface Plugins
Modifier and Type | Method and Description |
---|---|
boolean |
canDisablePlugin(String pluginKey)
Is it possible to disable a plugin.
|
boolean |
canDisablePluginModule(String pluginKey,
String completeModuleKey)
Is it possible to disable a module of a plugin.
|
void |
disablePlugin(String pluginKey)
Tries to disable a plugin (so long as it is installed).
|
void |
disablePluginModule(String pluginKey,
String completeModuleKey)
Tries to disable a module within a plugin.
|
void |
enablePlugin(String pluginKey)
Tries to enable a plugin (so long as it is installed).
|
void |
enablePluginModule(String pluginKey,
String completeModuleKey)
Tries to enable a module within a plugin.
|
boolean |
isPluginDisabled(String pluginKey)
Is a plugin disabled.
|
boolean |
isPluginEnabled(String pluginKey)
Is a plugin enabled.
|
boolean |
isPluginInstalled(String pluginKey)
Checks if the plugin is found in the UPM.
|
boolean |
isPluginModuleDisabled(String pluginKey,
String completeModuleKey)
Is a module of a plugin disabled.
|
boolean |
isPluginModuleEnabled(String pluginKey,
String completeModuleKey)
Is a module of a plugin enabled.
|
ReferenceDependentPlugin |
referenceDependentPlugin()
Gets an instance of the reference dependent plugin.
|
ReferenceLanguagePack |
referenceLanguagePack()
Gets an instance of the reference language pack plugin.
|
ReferencePlugin |
referencePlugin()
Gets an instance of the reference plugin.
|
boolean isPluginInstalled(String pluginKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePluginboolean canDisablePluginModule(String pluginKey, String completeModuleKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key for the module eg. com.atlassian.examplePlugin:exampleModuleboolean canDisablePlugin(String pluginKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePluginvoid enablePlugin(String pluginKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePluginvoid disablePlugin(String pluginKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePluginvoid enablePluginModule(String pluginKey, String completeModuleKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key for the module eg. com.atlassian.examplePlugin:exampleModulevoid disablePluginModule(String pluginKey, String completeModuleKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key for the module eg. com.atlassian.examplePlugin:exampleModuleboolean isPluginEnabled(String pluginKey)
pluginKey
- - the key of the plugin to check eg. com.atlassian.examplePluginboolean isPluginDisabled(String pluginKey)
pluginKey
- - the key of the plugin to check eg. com.atlassian.examplePluginboolean isPluginModuleEnabled(String pluginKey, String completeModuleKey)
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key for the module eg. com.atlassian.examplePlugin:exampleModuleboolean isPluginModuleDisabled(String pluginKey, String completeModuleKey)
pluginKey
- - the key of the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key of the module to check eg. com.atlassian.examplePlugin:exampleModuleReferencePlugin referencePlugin()
ReferenceDependentPlugin referenceDependentPlugin()
ReferenceLanguagePack referenceLanguagePack()
Copyright © 2002-2024 Atlassian. All Rights Reserved.