docs: @Override
      public synchronized boolean setNotificationOptions(long interval, boolean useMBean) {
          for (LooseArtifactNotifier childNotification : children.values()) {
              childNotification.setNotificationOptions(interval, useMBean);
          }
  
          Long compareInterval = Long.valueOf(interval);
          if (compareInterval.equals(this.interval) && ((useMBean && FileMonitor.MONITOR_TYPE_EXTERNAL.equals(this.notificationType))
                                                        ||
                                                        (!useMBean && FileMonitor.MONITOR_TYPE_TIMED.equals(this.notificationType)))) {
              return true;
          }
          this.interval = compareInterval;
          this.notificationType = useMBean ? FileMonitor.MONITOR_TYPE_EXTERNAL : FileMonitor.MONITOR_TYPE_TIMED;
  
          //only issue the update if we have a service registered.
          if (this.service != null || this.nonRecurseService != null) {
              updateFileMonitorService();
          }
  
          return true;
      }