Package org.graffiti.managers.pluginmgr
Interface PluginEntry
- All Known Implementing Classes:
DefaultPluginEntry
public interface PluginEntry
An entry in the plugin manager.
- See Also:
PluginManager
-
Method Summary
Modifier and Type Method Description PluginDescription
getDescription()
Returns the plugin description of this entry.String
getFileName()
Returns the file name of the plugin.Boolean
getLoadOnStartup()
Returnstrue
, if the plugin should be loaded at startup.GenericPlugin
getPlugin()
Returns the plugin of this entry.URL
getPluginLocation()
Returns the location of the plugin.URL
getPluginUrl()
void
setDescription(PluginDescription description)
Sets the description.void
setLoadOnStartup(Boolean loadOnStartup)
Sets the flag indicating whether a plugin should be loaded on the startup of the editor.void
setPlugin(GenericPlugin plugin)
Sets the plugin.void
setPluginLocation(URL pluginLocation)
Sets the plugin location.
-
Method Details
-
setDescription
Sets the description.- Parameters:
description
- the description to be set.
-
getDescription
PluginDescription getDescription()Returns the plugin description of this entry.- Returns:
- the plugin description of this entry.
-
getFileName
String getFileName()Returns the file name of the plugin.- Returns:
- the file name of the plugin.
-
setLoadOnStartup
Sets the flag indicating whether a plugin should be loaded on the startup of the editor.- Parameters:
loadOnStartup
- the flag indicating whether a plugin should be loaded on the startup of the editor.
-
getLoadOnStartup
Boolean getLoadOnStartup()Returnstrue
, if the plugin should be loaded at startup.- Returns:
true
, if the plugin should be loaded at startup.
-
setPlugin
Sets the plugin.- Parameters:
plugin
- the plugin to be set.
-
getPlugin
GenericPlugin getPlugin()Returns the plugin of this entry.- Returns:
- the plugin of this entry.
-
setPluginLocation
Sets the plugin location.- Parameters:
pluginLocation
- plugin location to be set.
-
getPluginLocation
URL getPluginLocation()Returns the location of the plugin.- Returns:
- the location of the plugin.
-
getPluginUrl
- Throws:
MalformedURLException
-