org.codehaus.mojo.pomtools.console.toolkit.event
Class ConsoleEventDispatcher

java.lang.Object
  extended by org.codehaus.mojo.pomtools.console.toolkit.event.ConsoleEventDispatcher

public class ConsoleEventDispatcher
extends Object

Version:
$Id: ConsoleEventDispatcher.java 2166 2006-07-18 21:32:16Z carlos $
Author:
David Hawkins

Constructor Summary
ConsoleEventDispatcher()
           
 
Method Summary
 ConsoleEventDispatcher add(ConsoleEventListener listener)
           
 ConsoleEventDispatcher addFirst(ConsoleEventListener listener)
           
 void dispatchEvent(ConsoleEvent event)
           
 List getListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleEventDispatcher

public ConsoleEventDispatcher()
Method Detail

add

public ConsoleEventDispatcher add(ConsoleEventListener listener)

addFirst

public ConsoleEventDispatcher addFirst(ConsoleEventListener listener)

dispatchEvent

public void dispatchEvent(ConsoleEvent event)
                   throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getListeners

public List getListeners()


Copyright © 2011 The Codehaus. All Rights Reserved.