public class ExtensionStats extends ExtensionAdaptor implements OptionsChangedListener
Constructor and Description |
---|
ExtensionStats() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Gets the author of the extension.
|
String |
getDescription()
Returns the description of the extension, to be shown in UI components.
|
InMemoryStats |
getInMemoryStats() |
String |
getUIName()
By default returns the name returned by
getName() . |
void |
hook(ExtensionHook extensionHook)
Called during extension's initialisation to allow to add new functionality to core
components.
|
boolean |
isCore() |
void |
optionsChanged(OptionsParam optionsParam) |
void |
optionsLoaded()
Called after the options for this extension have been loaded, so that the extension can make
use of them.
|
boolean |
supportsDb(String type)
No database tables used, so all supported
|
canUnload, databaseOpen, destroy, getActiveActions, getAddOn, getDependencies, getExtensionMenu, getExtensionView, getI18nPrefix, getMessages, getModel, getName, getOrder, getUnsavedResources, getView, hasView, init, initModel, initView, initXML, isDepreciated, isEnabled, postInit, postInstall, setAddOn, setDescription, setEnabled, setI18nPrefix, setMessages, setName, setOrder, start, stop, supportsLowMemory, unload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getURL, getVersion
public static final String NAME
public String getUIName()
ExtensionAdaptor
getName()
.getUIName
in interface Extension
getUIName
in class ExtensionAdaptor
null
ExtensionAdaptor.getName()
public void hook(ExtensionHook extensionHook)
Extension
hook
in interface Extension
hook
in class ExtensionAdaptor
extensionHook
- the hook to add the components.public void optionsLoaded()
Extension
optionsLoaded
in interface Extension
optionsLoaded
in class ExtensionAdaptor
Extension.postInit()
public boolean isCore()
isCore
in interface Extension
isCore
in class ExtensionAdaptor
public String getAuthor()
Extension
Since 2.9.0 defaults to the author of the add-on, if set, otherwise an empty string.
public String getDescription()
Extension
getDescription
in interface Extension
getDescription
in class ExtensionAdaptor
null
public boolean supportsDb(String type)
supportsDb
in interface Extension
supportsDb
in class ExtensionAdaptor
type
- the db typeDatabase.getType()
public void optionsChanged(OptionsParam optionsParam)
optionsChanged
in interface OptionsChangedListener
public InMemoryStats getInMemoryStats()