org.codehaus.mojo.pomtools.console.toolkit.event
Class MatchingListener
java.lang.Object
org.codehaus.mojo.pomtools.console.toolkit.event.AbstractEventListener
org.codehaus.mojo.pomtools.console.toolkit.event.MatchingListener
- All Implemented Interfaces:
- ConsoleEventListener
public abstract class MatchingListener
- extends AbstractEventListener
- Version:
- $Id: MatchingListener.java 2166 2006-07-18 21:32:16Z carlos $
- Author:
- David Hawkins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchingListener
public MatchingListener(String inputString,
String description)
MatchingListener
public MatchingListener(String[] inputStrings,
String description)
MatchingListener
public MatchingListener(String[] inputStrings,
String description,
String descriptionKey)
validateConfiguration
public void validateConfiguration(ConsoleEventDispatcher dispatcher)
throws ConsoleConfigurationException
- Validates that there are no other MatchingListeners in the dispatcher that
accept the same input as this listener.
- Throws:
ConsoleConfigurationException
accept
public boolean accept(ConsoleEvent event)
getDescriptionKey
public String getDescriptionKey()
Copyright © 2011 The Codehaus. All Rights Reserved.