Class ClasspathUploadablePlugin

  extended by
All Implemented Interfaces:
Plugin, UploadablePlugin
Direct Known Subclasses:

public class ClasspathUploadablePlugin
extends Object
implements UploadablePlugin

An uploadable plugin that can be loaded as a classpath resource via ClassLoader.getResource(String).

Field Summary
Fields inherited from interface
Constructor Summary
ClasspathUploadablePlugin(String key, String displayName, String resourceName)
          Specifies a plugin to be loaded from a classpath resource.
Method Summary
 String getDisplayName()
 File getFile()
 String getKey()
          The plugin key of the plugin.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ClasspathUploadablePlugin(String key,
                                 String displayName,
                                 String resourceName)
Specifies a plugin to be loaded from a classpath resource.

key - the key of the plugin
displayName - the visible name of the plugin, used to verify its installation
resourceName - the path to the plugin JAR as a classpath resource
Method Detail


public String getKey()
Description copied from interface: Plugin
The plugin key of the plugin.

Specified by:
getKey in interface Plugin


public String getDisplayName()
Specified by:
getDisplayName in interface Plugin
the full name of the plugin, used to ensure that the plugin was uploaded successfully


public File getFile()
Specified by:
getFile in interface UploadablePlugin
the JAR file of the plugin to upload.

Copyright © 2003-2012 Atlassian. All Rights Reserved.