Class ResourceChangeLogger

  • All Implemented Interfaces:
    org.apache.sling.api.resource.observation.ResourceChangeListener

    public class ResourceChangeLogger
    extends Object
    implements org.apache.sling.api.resource.observation.ResourceChangeListener
    Logs resource changes matching a given regex.
    • Constructor Detail

      • ResourceChangeLogger

        public ResourceChangeLogger()
    • Method Detail

      • onChange

        public void onChange​(List<org.apache.sling.api.resource.observation.ResourceChange> rawChanges)
        Specified by:
        onChange in interface org.apache.sling.api.resource.observation.ResourceChangeListener
      • deactivate

        protected void deactivate()