org.apache.maven.mercury.event
Interface MercuryEventListener

All Known Implementing Classes:
DumbListener

public interface MercuryEventListener

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

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.
 

Method Detail

getMask

MercuryEvent.EventMask getMask()
identifies what events this listrener is interested in.

Returns:
the mask - BitSet of event type bits, or null, if this listener wants to be notified of all events

fire

void fire(MercuryEvent event)
this is called when an event matching the listener mask is generated

Parameters:
event -


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