|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.util.PluginRepositoryEntry
public class PluginRepositoryEntry
represents a a Scone plugin which states (enabled/disabled) are mirrored in an XML element. This class is to be used with the PluginRepository.
Method Summary | |
---|---|
void |
disable()
disables the plugin and mirrors this change in the element. |
void |
enable()
enables the plugin and mirrors this change in the element. |
java.lang.String |
getName()
returns the classname of the plugin |
Plugin |
getPlugin()
returns the plugin |
int |
getRequirements()
returns the requirements of the plugin if the plugin has been instantiated. |
boolean |
isEnabled()
check if a plugin is currently enabled |
void |
remove()
disables the plugin and removes the element from its parent. |
void |
terminate()
calls Plugin.terminate() does not invoke disable() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void remove()
public void terminate()
public void disable()
public void enable()
public int getRequirements()
public Plugin getPlugin()
public boolean isEnabled()
public java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |