|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.functest.framework.AbstractFuncTestUtil com.atlassian.jira.functest.framework.admin.plugins.PluginsImpl
public class PluginsImpl
Field Summary |
---|
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
environmentData, FS, locators, logger, logIndentLevel, tester |
Constructor Summary | |
---|---|
PluginsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel,
Navigation navigation,
Administration administration,
LocatorFactory locators)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil |
---|
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginsImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData, int logIndentLevel, Navigation navigation, Administration administration, LocatorFactory locators)
Method Detail |
---|
public boolean isPluginInstalled(String pluginKey)
Plugins
isPluginInstalled
in interface Plugins
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugin
public ReferencePlugin referencePlugin()
Plugins
referencePlugin
in interface Plugins
public ReferenceDependentPlugin referenceDependentPlugin()
Plugins
referenceDependentPlugin
in interface Plugins
public ReferenceLanguagePack referenceLanguagePack()
Plugins
referenceLanguagePack
in interface Plugins
public void disablePlugin(String pluginKey)
Plugins
disablePlugin
in interface Plugins
pluginKey
- - the key for the plugin eg. com.atlassian.examplePluginpublic void enablePlugin(String pluginKey)
Plugins
enablePlugin
in interface Plugins
pluginKey
- - the key for the plugin eg. com.atlassian.examplePluginpublic void disablePluginModule(String pluginKey, String completeModuleKey)
Plugins
disablePluginModule
in interface Plugins
pluginKey
- - 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)
Plugins
enablePluginModule
in interface Plugins
pluginKey
- - 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)
Plugins
canDisablePluginModule
in interface Plugins
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key for the module eg. com.atlassian.examplePlugin:exampleModule
public boolean canDisablePlugin(String pluginKey)
Plugins
canDisablePlugin
in interface Plugins
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugin
public boolean isPluginEnabled(String pluginKey)
Plugins
isPluginEnabled
in interface Plugins
pluginKey
- - the key of the plugin to check eg. com.atlassian.examplePlugin
public boolean isPluginDisabled(String pluginKey)
Plugins
isPluginDisabled
in interface Plugins
pluginKey
- - the key of the plugin to check eg. com.atlassian.examplePlugin
public boolean isPluginModuleEnabled(String pluginKey, String completeModuleKey)
Plugins
isPluginModuleEnabled
in interface Plugins
pluginKey
- - the key for the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key for the module eg. com.atlassian.examplePlugin:exampleModule
public boolean isPluginModuleDisabled(String pluginKey, String completeModuleKey)
Plugins
isPluginModuleDisabled
in interface Plugins
pluginKey
- - the key of the plugin eg. com.atlassian.examplePlugincompleteModuleKey
- - the key of the module to check eg. com.atlassian.examplePlugin:exampleModule
public com.meterware.httpunit.WebResponse PUT(String url, JSONObject json, String mediaType) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse PUT(String url, String postBody, String mediaType) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse GET(String url) throws IOException, SAXException
IOException
SAXException
public com.meterware.httpunit.WebResponse GET(String url, Map<String,String> headers) throws IOException, SAXException
IOException
SAXException
protected String getBaseUrlPlus(String... paths)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |