Interface InitializableRule
-
- All Known Implementing Classes:
PluginCreateRule
public interface InitializableRule
Defines an interface that a Rule class can implement if it wishes to get an initialisation callback after the rule has been added to the set of Rules within a PluginRules instance.- Since:
- 1.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
postRegisterInit(java.lang.String pattern)
Called after this Rule object has been added to the list of all Rules.
-
-
-
Method Detail
-
postRegisterInit
void postRegisterInit(java.lang.String pattern) throws PluginConfigurationException
Called after this Rule object has been added to the list of all Rules. Note that if a single InitializableRule instance is associated with more than one pattern, then this method will be called more than once.- Parameters:
pattern
- is the digester match pattern that will trigger this rule.- Throws:
PluginConfigurationException
- is thrown if the InitializableRule determines that it cannot correctly initialise itself for any reason.
-
-