public void addServerObserver(O observer, boolean inEventQueue) { observerLord.addObserver(observer, inEventQueue); }
/** * This allows you to add a listener that can add additional command line arguments whenever * gradle is executed. This is useful if you've customized your gradle build and need to specify, * for example, an init script. * * <p>param listener the listener that modifies the command line arguments. */ public void addCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListener listener) { commandLineArgumentObserverLord.addObserver(listener, false); }
public void addRequestObserver(RequestObserver observer, boolean inEventQueue) { requestObserverLord.addObserver(observer, inEventQueue); }
public void addSettingsObserver(SettingsObserver observer, boolean inEventQueue) { settingsObserverLord.addObserver(observer, inEventQueue); }
/** * Adds an observer for various events. See PluginObserver. * * @param observer your observer * @param inEventQueue true if you want to be notified in the Event Dispatch Thread. */ public void addGeneralPluginObserver(GeneralPluginObserver observer, boolean inEventQueue) { generalObserverLord.addObserver(observer, inEventQueue); }