|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.plugin.WebTestPluginHelper
public class WebTestPluginHelper
Uses its own WebTester to perform and test administrative actions on a server with a given base url. The possession of the WebTester implies that the Dialog between this helper and the server is separate to any other conversation, so the logged in user and response (ie currently viewed page) are also separate.
Constructor Summary | |
---|---|
WebTestPluginHelper(String baseUrl,
User initialUser)
Opens a separate dialog with the server for the purpose of installing plugins. |
Method Summary | |
---|---|
void |
disablePlugin(Plugin plugin)
Disable the plugin using its display name. |
void |
enablePlugin(Plugin plugin)
|
void |
installPlugin(UploadablePlugin plugin)
|
boolean |
isPluginEnabled(Plugin plugin)
Throws an exception if the plugin is not installed. |
boolean |
isPluginInstalled(Plugin plugin)
|
void |
uninstallPlugin(Plugin plugin)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebTestPluginHelper(String baseUrl, User initialUser)
baseUrl
- base URL of the Confluence instance to talk toinitialUser
- the user to login as initiallyMethod Detail |
---|
public void installPlugin(UploadablePlugin plugin) throws FileNotFoundException
FileNotFoundException
public void uninstallPlugin(Plugin plugin)
public boolean isPluginInstalled(Plugin plugin)
public void enablePlugin(Plugin plugin)
public void disablePlugin(Plugin plugin)
public boolean isPluginEnabled(Plugin plugin)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |