| Constructor and Description |
|---|
PluginsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel,
Navigation navigation,
Administration administration,
LocatorFactory locators) |
PluginsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
Administration administration,
LocatorFactory locators) |
| 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.
|
com.meterware.httpunit.WebResponse |
GET(String url) |
com.meterware.httpunit.WebResponse |
GET(String url,
Map<String,String> headers) |
protected String |
getBaseUrlPlus(String... paths) |
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.
|
com.meterware.httpunit.WebResponse |
PUT(String url,
JSONObject json,
String mediaType) |
com.meterware.httpunit.WebResponse |
PUT(String url,
String postBody,
String mediaType) |
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.
|
public PluginsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel,
Navigation navigation,
Administration administration,
LocatorFactory locators)
@Inject
public PluginsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
Navigation navigation,
Administration administration,
LocatorFactory locators)
public boolean isPluginInstalled(String pluginKey)
PluginsisPluginInstalled in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePluginpublic ReferencePlugin referencePlugin()
PluginsreferencePlugin in interface Pluginspublic ReferenceDependentPlugin referenceDependentPlugin()
PluginsreferenceDependentPlugin in interface Pluginspublic ReferenceLanguagePack referenceLanguagePack()
PluginsreferenceLanguagePack in interface Pluginspublic void disablePlugin(String pluginKey)
PluginsdisablePlugin in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePluginpublic void enablePlugin(String pluginKey)
PluginsenablePlugin in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePluginpublic void disablePluginModule(String pluginKey, String completeModuleKey)
PluginsdisablePluginModule in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey - - the key for the module eg. com.atlassian.examplePlugin:exampleModulepublic void enablePluginModule(String pluginKey, String completeModuleKey)
PluginsenablePluginModule in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey - - the key for the module eg. com.atlassian.examplePlugin:exampleModulepublic boolean canDisablePluginModule(String pluginKey, String completeModuleKey)
PluginscanDisablePluginModule in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey - - the key for the module eg. com.atlassian.examplePlugin:exampleModulepublic boolean canDisablePlugin(String pluginKey)
PluginscanDisablePlugin in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePluginpublic boolean isPluginEnabled(String pluginKey)
PluginsisPluginEnabled in interface PluginspluginKey - - the key of the plugin to check eg. com.atlassian.examplePluginpublic boolean isPluginDisabled(String pluginKey)
PluginsisPluginDisabled in interface PluginspluginKey - - the key of the plugin to check eg. com.atlassian.examplePluginpublic boolean isPluginModuleEnabled(String pluginKey, String completeModuleKey)
PluginsisPluginModuleEnabled in interface PluginspluginKey - - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey - - the key for the module eg. com.atlassian.examplePlugin:exampleModulepublic boolean isPluginModuleDisabled(String pluginKey, String completeModuleKey)
PluginsisPluginModuleDisabled in interface PluginspluginKey - - the key of the plugin eg. com.atlassian.examplePlugincompleteModuleKey - - the key of the module to check eg. com.atlassian.examplePlugin:exampleModulepublic com.meterware.httpunit.WebResponse PUT(String url, JSONObject json, String mediaType) throws IOException, SAXException
IOExceptionSAXExceptionpublic com.meterware.httpunit.WebResponse PUT(String url, String postBody, String mediaType) throws IOException, SAXException
IOExceptionSAXExceptionpublic com.meterware.httpunit.WebResponse GET(String url) throws IOException, SAXException
IOExceptionSAXExceptionpublic com.meterware.httpunit.WebResponse GET(String url, Map<String,String> headers) throws IOException, SAXException
IOExceptionSAXExceptionCopyright © 2002-2021 Atlassian. All Rights Reserved.