Ejemplo n.º 1
0
 public void addServerObserver(O observer, boolean inEventQueue) {
   observerLord.addObserver(observer, inEventQueue);
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }
Ejemplo n.º 3
0
 public void addRequestObserver(RequestObserver observer, boolean inEventQueue) {
   requestObserverLord.addObserver(observer, inEventQueue);
 }
Ejemplo n.º 4
0
 public void addSettingsObserver(SettingsObserver observer, boolean inEventQueue) {
   settingsObserverLord.addObserver(observer, inEventQueue);
 }
Ejemplo n.º 5
0
 /**
  * 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);
 }