public class

UnloadablePlugin

extends StaticPlugin
java.lang.Object
   ↳ com.atlassian.plugin.impl.AbstractPlugin
     ↳ com.atlassian.plugin.impl.StaticPlugin
       ↳ com.atlassian.plugin.impl.UnloadablePlugin

Class Overview

This class represents a Plugin that was not able to be loaded by the PluginManager.

Summary

[Expand]
Inherited Fields
From interface com.atlassian.plugin.Plugin
Public Constructors
UnloadablePlugin()
UnloadablePlugin(String text)
Public Methods
void close()
Free any resources held by this plugin.
String getErrorText()
boolean isDeleteable()
boolean isEnabledByDefault()
boolean isUninstallable()
Static plugins loaded from the classpath can't be uninstalled.
void setDeletable(boolean deletable)
void setErrorText(String errorText)
void setUninstallable(boolean uninstallable)
String toString()
Protected Methods
void uninstallInternal()
Perform any internal uninstallation logic.
[Expand]
Inherited Methods
From class com.atlassian.plugin.impl.StaticPlugin
From class com.atlassian.plugin.impl.AbstractPlugin
From class java.lang.Object
From interface com.atlassian.plugin.Plugin
From interface com.atlassian.plugin.Resourced
From interface java.lang.Comparable

Public Constructors

public UnloadablePlugin ()

public UnloadablePlugin (String text)

Parameters
text The error text

Public Methods

public void close ()

Free any resources held by this plugin. To be called during uninstallation of the Plugin.

public String getErrorText ()

public boolean isDeleteable ()

public boolean isEnabledByDefault ()

public boolean isUninstallable ()

Static plugins loaded from the classpath can't be uninstalled.

public void setDeletable (boolean deletable)

public void setErrorText (String errorText)

public void setUninstallable (boolean uninstallable)

public String toString ()

Protected Methods

protected void uninstallInternal ()

Perform any internal uninstallation logic. Subclasses should only throw PluginException.