public class ClasspathUploadablePlugin extends Object implements UploadablePlugin
ClassLoader.getResource(String)
.PLUGIN_DESCRIPTOR_FILENAME
Constructor and Description |
---|
ClasspathUploadablePlugin(String key,
String displayName,
String resourceName)
Specifies a plugin to be loaded from a classpath resource.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
File |
getFile() |
String |
getKey()
The plugin key of the plugin.
|
public ClasspathUploadablePlugin(String key, String displayName, String resourceName)
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 resourcepublic String getKey()
Plugin
public String getDisplayName()
getDisplayName
in interface Plugin
public File getFile()
getFile
in interface UploadablePlugin
Copyright © 2003–2015 Atlassian. All rights reserved.