Package com.morpheusdata.core
Interface PluginInterface
- All Known Implementing Classes:
Plugin
public interface PluginInterface
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Gets the code of the current plugin.getName()voidThis is a hook called by thePluginManagerwhen a plugin is loaded into memory.voidCalled when a plugin is being removed from the plugin manager (aka Uninstalled)voidvoidsetDescription(String description) voidsetFileName(String fileName) voidsetIssueTrackerUrl(String issueTrackerUrl) voidvoidsetSourceCodeLocationUrl(String sourceCodeLocationUrl) voidsetVersion(String version) voidsetWebsiteUrl(String websiteUrl)
-
Method Details
-
initialize
void initialize()This is a hook called by thePluginManagerwhen a plugin is loaded into memory. In many cases no code execution should be needed in this phase, but some scenarios may require this. -
onDestroy
void onDestroy()Called when a plugin is being removed from the plugin manager (aka Uninstalled) -
getName
String getName() -
setName
-
getCode
String getCode()Gets the code of the current plugin. This is an internal name that must be unique across plugins.- Returns:
- the code for the plugin
-
getFileName
String getFileName() -
setFileName
-
getVersion
String getVersion() -
setVersion
-
getDescription
String getDescription() -
setDescription
-
getAuthor
String getAuthor() -
setAuthor
-
getWebsiteUrl
String getWebsiteUrl() -
setWebsiteUrl
-
getSourceCodeLocationUrl
String getSourceCodeLocationUrl() -
setSourceCodeLocationUrl
-
getIssueTrackerUrl
String getIssueTrackerUrl() -
setIssueTrackerUrl
-