public class CustomContentTestPluginInstaller extends Object
Constructor and Description |
---|
CustomContentTestPluginInstaller(ConfluenceRpc rpc) |
Modifier and Type | Method and Description |
---|---|
UploadablePlugin |
install() |
UploadablePlugin |
install(List<Class> additionalPluginClasses,
String pluginKey,
String pluginXml)
Used for installing a plugin with the test custom content type and any additional plugin classes.
|
void |
uninstall() |
public CustomContentTestPluginInstaller(ConfluenceRpc rpc)
public UploadablePlugin install() throws IOException
IOException
public UploadablePlugin install(List<Class> additionalPluginClasses, String pluginKey, String pluginXml) throws IOException
The plugin xml must declare the custom content type as a plugin module.
Custom content type classes will be automatically registered
additionalPluginClasses
- - additional plugin classes to include in the plugin jarpluginKey
- - the plugin keypluginXml
- - the atlassian-plugin.xml defining the modules to be registeredIOException
public void uninstall()
Copyright © 2003–2021 Atlassian. All rights reserved.