Class ClasspathUploadablePlugin
- java.lang.Object
-
- com.atlassian.confluence.it.plugin.ClasspathUploadablePlugin
-
- All Implemented Interfaces:
Plugin
,UploadablePlugin
- Direct Known Subclasses:
SpringComponentUploadablePlugin
@Deprecated public class ClasspathUploadablePlugin extends Object implements UploadablePlugin
Deprecated.since 5.8 - please use confluence-test-utils module instead. SeeClasspathUploadablePlugin
.An uploadable plugin that can be loaded as a classpath resource viaClassLoader.getResource(String)
.
-
-
Field Summary
-
Fields inherited from interface com.atlassian.confluence.it.plugin.Plugin
PLUGIN_DESCRIPTOR_FILENAME
-
-
Constructor Summary
Constructors Constructor Description ClasspathUploadablePlugin(String key, String displayName, String resourceName)
Deprecated.Specifies a plugin to be loaded from a classpath resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayName()
Deprecated.File
getFile()
Deprecated.String
getKey()
Deprecated.The plugin key of the plugin.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.it.plugin.UploadablePlugin
undeprecated
-
-
-
-
Constructor Detail
-
ClasspathUploadablePlugin
public ClasspathUploadablePlugin(String key, String displayName, String resourceName)
Deprecated.Specifies a plugin to be loaded from a classpath resource.- Parameters:
key
- the key of the plugindisplayName
- the visible name of the plugin, used to verify its installationresourceName
- the path to the plugin JAR as a classpath resource
-
-
Method Detail
-
getKey
public String getKey()
Deprecated.Description copied from interface:Plugin
The plugin key of the plugin.
-
getDisplayName
public String getDisplayName()
Deprecated.- Specified by:
getDisplayName
in interfacePlugin
- Returns:
- the full name of the plugin, used to ensure that the plugin was uploaded successfully
-
getFile
public File getFile()
Deprecated.- Specified by:
getFile
in interfaceUploadablePlugin
- Returns:
- the JAR file of the plugin to upload.
-
-