org.apache.james.mailet
Class MailetdocsMojo.TypePredicate

java.lang.Object
  extended by org.apache.james.mailet.MailetdocsMojo.TypePredicate
All Implemented Interfaces:
org.apache.commons.collections.Predicate
Enclosing class:
MailetdocsMojo

private static final class MailetdocsMojo.TypePredicate
extends java.lang.Object
implements org.apache.commons.collections.Predicate

Extracts only a given type from a list.


Field Summary
private  int type
           
 
Constructor Summary
MailetdocsMojo.TypePredicate(int typeMatcher)
           
 
Method Summary
 boolean evaluate(java.lang.Object arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private int type
Constructor Detail

MailetdocsMojo.TypePredicate

public MailetdocsMojo.TypePredicate(int typeMatcher)
Method Detail

evaluate

public boolean evaluate(java.lang.Object arg0)
Specified by:
evaluate in interface org.apache.commons.collections.Predicate


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.