org.apache.maven.mercury.event
Class DumbListener

java.lang.Object
  extended by org.apache.maven.mercury.event.DumbListener
All Implemented Interfaces:
MercuryEventListener

public class DumbListener
extends java.lang.Object
implements MercuryEventListener

Version:
$Id: DumbListener.java 720564 2008-11-25 18:58:02Z ogusakov $
Author:
Oleg Gusakov

Constructor Summary
DumbListener()
           
DumbListener(java.io.OutputStream os)
           
 
Method Summary
 void fire(MercuryEvent event)
          this is called when an event matching the listener mask is generated
 MercuryEvent.EventMask getMask()
          identifies what events this listrener is interested in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumbListener

public DumbListener()

DumbListener

public DumbListener(java.io.OutputStream os)
Method Detail

fire

public void fire(MercuryEvent event)
Description copied from interface: MercuryEventListener
this is called when an event matching the listener mask is generated

Specified by:
fire in interface MercuryEventListener

getMask

public MercuryEvent.EventMask getMask()
Description copied from interface: MercuryEventListener
identifies what events this listrener is interested in.

Specified by:
getMask in interface MercuryEventListener
Returns:
the mask - BitSet of event type bits, or null, if this listener wants to be notified of all events


Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.