com.atlassian.confluence.it.plugin
Class SimplePlugin

java.lang.Object
  extended by com.atlassian.confluence.it.plugin.SimplePlugin
All Implemented Interfaces:
Plugin

public class SimplePlugin
extends Object
implements Plugin

Provides the key and display name of a plugin. Cannot be installed into Confluence.

See Also:
UploadablePlugin

Field Summary
 
Fields inherited from interface com.atlassian.confluence.it.plugin.Plugin
PLUGIN_DESCRIPTOR_FILENAME
 
Constructor Summary
SimplePlugin(String key)
          Some test cases might not even need a useful display name, so just use the key.
SimplePlugin(String key, String displayName)
           
 
Method Summary
 String getDisplayName()
           
 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

SimplePlugin

public SimplePlugin(String key,
                    String displayName)

SimplePlugin

public SimplePlugin(String key)
Some test cases might not even need a useful display name, so just use the key.

Method Detail

getKey

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

Specified by:
getKey in interface Plugin

getDisplayName

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


Copyright © 2003–2015 Atlassian. All rights reserved.