public abstract class AbstractAddon extends AbstractMRulesObject implements IAddon
Constructor and Description |
---|
AbstractAddon() |
Modifier and Type | Method and Description |
---|---|
AbstractAddon |
clone()
Clones the Addon.
|
Integer |
getInternalCacheIdentifier()
Returns null by default.
|
boolean |
isCacheUsed()
Returns false by default.
|
boolean |
isInternalCacheIdentifierNeeded()
This method allows to tell the engine if a cache identifier is needed.
|
void |
optimize(ICompilationContext ctxt)
Convenience method, which does nothing.
|
void |
resetCachedData(IExecutionContext ctxt)
Does nothing.
|
void |
setInternalCacheIdentifier(Integer internalIdentifier)
Stores nothing.
|
String |
toString() |
boolean |
wasRegistered(ICompilationContext ctxt,
IAddon parent,
AddonInfo info)
Convenience method, which does nothing.
|
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImplementationId
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public void optimize(ICompilationContext ctxt) throws MRuleValidationException
optimize
in interface IAddon
MRuleValidationException
public boolean wasRegistered(ICompilationContext ctxt, IAddon parent, AddonInfo info) throws MRuleValidationException
wasRegistered
in interface IAddon
parent
- Parent from which this instance of addon was registered.info
- Addon info for the currently registered addonMRuleValidationException
public void setInternalCacheIdentifier(Integer internalIdentifier)
setInternalCacheIdentifier
in interface IAddon
internalIdentifier
- Internal identifierIAddon.getInternalCacheIdentifier()
public Integer getInternalCacheIdentifier()
getInternalCacheIdentifier
in interface IAddon
IAddon.setInternalCacheIdentifier(Integer)
public boolean isCacheUsed()
isCacheUsed
in interface IAddon
public void resetCachedData(IExecutionContext ctxt)
resetCachedData
in interface IAddon
public boolean isInternalCacheIdentifierNeeded()
isInternalCacheIdentifierNeeded
in interface IAddon
setInternalCacheIdentifier(Integer)
public AbstractAddon clone()
IAddon
clone
in interface IAddon
clone
in interface IMRulesObject
clone
in class AbstractMRulesObject