@ParametersAreNonnullByDefault public class PluginsControlExt extends com.atlassian.jira.testkit.client.PluginsControl
Modifier and Type | Class and Description |
---|---|
static class |
PluginsControlExt.PluginBean |
static class |
PluginsControlExt.PluginsResponse |
Constructor and Description |
---|
PluginsControlExt(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
PluginsControlExt |
disableIssueNavPlugin()
Deprecated.
|
PluginsControlExt |
enableIssueNavPlugin()
Deprecated.
|
Optional<PluginsControlExt.PluginBean> |
getPlugin(String pluginKey)
Returns the plugin with the given key, if it exists.
|
List<PluginsControlExt.PluginBean> |
listPlugins() |
void |
unistallPlugin(String pluginKey)
Removes plugin denoted by its key.
|
void |
uploadPlugin(URL pluginUrl)
Uploads the given plugin to JIRA via the UPM REST API.
|
clearSettings, disablePlugin, disablePluginModule, enablePlugin, enablePluginModule, getPluginState, getSettings, setPluginLicense, setSettings
createResource, createResourceForPath, createResourceForPath, get, getRestModulePath
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public PluginsControlExt(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
@Deprecated public PluginsControlExt enableIssueNavPlugin()
The behaviour of disabling the plugin is undefined and Atlassian does not support such configuration.
@Deprecated public PluginsControlExt disableIssueNavPlugin()
The behaviour of disabling the plugin is undefined and Atlassian does not support such configuration.
public List<PluginsControlExt.PluginBean> listPlugins()
public void unistallPlugin(String pluginKey)
pluginKey
- the complete P2 key of the desired pluginpublic Optional<PluginsControlExt.PluginBean> getPlugin(String pluginKey)
pluginKey
- the complete P2 key of the desired pluginpublic void uploadPlugin(URL pluginUrl)
PluginsControl.getPluginState(String)
and
listPlugins()
.pluginUrl
- the URL of the pluginCopyright © 2002-2024 Atlassian. All Rights Reserved.