Class AbstractRule
java.lang.Object
org.apache.log4j.rule.AbstractRule
- All Implemented Interfaces:
Serializable, Rule
- Direct Known Subclasses:
AndRule, ColorRule, EqualsRule, ExistsRule, ExpressionRule, InequalityRule, LevelEqualsRule, LevelInequalityRule.GreaterThanEqualsRule, LevelInequalityRule.GreaterThanRule, LevelInequalityRule.LessThanEqualsRule, LevelInequalityRule.LessThanRule, LikeRule, NotEqualsRule, NotLevelEqualsRule, NotRule, OrRule, PartialTextMatchRule, TimestampEqualsRule, TimestampInequalityRule
An abstract Rule class that provides the PropertyChange support plumbing.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PropertyChangeSupportPropertySupport instance.(package private) static final longSerialization id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd property change listener.voidSend property change notification to attached listeners.protected voidfirePropertyChange(String propertyName, Object oldVal, Object newVal) Send property change notification to attached listeners.voidRemove property change listener.
-
Field Details
-
serialVersionUID
static final long serialVersionUIDSerialization id.- See Also:
-
propertySupport
PropertySupport instance.
-
-
Constructor Details
-
AbstractRule
public AbstractRule()
-
-
Method Details
-
addPropertyChangeListener
Add property change listener.- Specified by:
addPropertyChangeListenerin interfaceRule- Parameters:
l- listener.
-
removePropertyChangeListener
Remove property change listener.- Specified by:
removePropertyChangeListenerin interfaceRule- Parameters:
l- listener.
-
firePropertyChange
-
firePropertyChange
Send property change notification to attached listeners.- Parameters:
evt- property change event.
-