Class SimplePlugin

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

@Deprecated public class SimplePlugin extends Object implements Plugin
Deprecated.
Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.plugin.SimplePlugin} alternative
Provides the key and display name of a plugin. Cannot be installed into Confluence.
See Also:
  • Constructor Details

    • SimplePlugin

      public SimplePlugin(String key, String displayName)
      Deprecated.
    • SimplePlugin

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

    • getKey

      public String getKey()
      Deprecated.
      Description copied from interface: Plugin
      The plugin key of the plugin.
      Specified by:
      getKey in interface Plugin
    • getDisplayName

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