org.apache.james.mailet
Class DefaultDescriptorsExtractor
java.lang.Object
org.apache.james.mailet.DefaultDescriptorsExtractor
- All Implemented Interfaces:
- DescriptorsExtractor
public class DefaultDescriptorsExtractor
- extends java.lang.Object
- implements DescriptorsExtractor
Finds implementations of Mailet and Matchers in the source trees.
Extracts javadocs using QDox. MailetInfo
is obtained by instantiation.
Method Summary |
java.util.List |
extractDescriptors(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
Search the source trees for mailets/matchers and returns their descriptors |
private java.util.List |
getAllInterfaces(java.lang.Class klass)
|
private java.util.List |
getAllInterfacesQdox(com.thoughtworks.qdox.model.JavaClass javaClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDescriptorsExtractor
public DefaultDescriptorsExtractor()
extractDescriptors
public java.util.List extractDescriptors(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
- Description copied from interface:
DescriptorsExtractor
- Search the source trees for mailets/matchers and returns their descriptors
- Specified by:
extractDescriptors
in interface DescriptorsExtractor
- Returns:
- List of MailetMatcherDescriptor objects
- See Also:
DescriptorsExtractor.extractDescriptors(MavenProject, Log)
getAllInterfacesQdox
private java.util.List getAllInterfacesQdox(com.thoughtworks.qdox.model.JavaClass javaClass)
getAllInterfaces
private java.util.List getAllInterfaces(java.lang.Class klass)
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.