public class ExtensionRuleConfig extends ExtensionAdaptor
Constructor and Description |
---|
ExtensionRuleConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addRuleconfig(RuleConfig rc) |
List<RuleConfig> |
getAllRuleConfigs() |
String |
getAuthor() |
String |
getDescription()
Returns the description of the extension, to be shown in UI components.
|
RuleConfig |
getRuleConfig(String key) |
RuleConfigParam |
getRuleConfigParam() |
String |
getUIName()
By default returns the name returned by
getName() . |
URL |
getURL() |
void |
hook(ExtensionHook extensionHook)
Called during extension's initialisation to allow to add new functionality to core
components.
|
void |
resetAllRuleConfigValues() |
void |
resetRuleConfigValue(String key) |
void |
setRuleConfigValue(String key,
String value) |
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, init, initModel, initView, initXML, isCore, isDepreciated, isEnabled, optionsLoaded, postInit, postInstall, setAddOn, setDescription, setEnabled, setI18nPrefix, setMessages, setName, setOrder, start, stop, supportsLowMemory, unload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion
public static final String NAME
public String getUIName()
ExtensionAdaptor
getName()
.getUIName
in interface Extension
getUIName
in class ExtensionAdaptor
null
ExtensionAdaptor.getName()
public void addRuleconfig(RuleConfig rc)
public void hook(ExtensionHook extensionHook)
Extension
hook
in interface Extension
hook
in class ExtensionAdaptor
extensionHook
- the hook to add the components.public RuleConfigParam getRuleConfigParam()
public List<RuleConfig> getAllRuleConfigs()
public RuleConfig getRuleConfig(String key)
public void resetRuleConfigValue(String key)
public void resetAllRuleConfigValues()
public String getAuthor()
public String getDescription()
Extension
getDescription
in interface Extension
getDescription
in class ExtensionAdaptor
null
public URL getURL()
getURL
in interface Extension
getURL
in class ExtensionAdaptor
public boolean supportsDb(String type)
supportsDb
in interface Extension
supportsDb
in class ExtensionAdaptor
type
- the db typeDatabase.getType()