Class PropertyChangedRule

  • All Implemented Interfaces:

    public class PropertyChangedRule
    extends DocChangeRule
    XWikiNotificationRule to check weather an object property has changed.
    The rules are as follows:
    • if an object of the specified class is added or deleted a notification is sent
    • if the objects list is the same then the values of the specified property in newdoc and olddoc are checked on corresponding objects - the correspondence is done based on the index of the objects in the list of objects of type classname.
    • if classname or propertyName are not specified upon instantiation (null or empty string), this PropertyChangedRule will never notify.