Class QDoxComponentGleaner
java.lang.Object
org.codehaus.plexus.metadata.gleaner.ComponentGleanerSupport
org.codehaus.plexus.metadata.gleaner.QDoxComponentGleaner
- All Implemented Interfaces:
SourceComponentGleaner
A source component gleaner which uses QDox to discover Javadoc annotations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.codehaus.plexus.metadata.gleaner.SourceComponentGleaner
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidfindConfiguration(org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration configuration, com.thoughtworks.qdox.model.JavaClass javaClass) private voidfindExtraParameters(String tagName, Map<String, String> parameters) private voidfindRequirements(com.thoughtworks.qdox.JavaProjectBuilder classCache, org.codehaus.plexus.component.repository.ComponentDescriptor<?> componentDescriptor, com.thoughtworks.qdox.model.JavaClass javaClass) private StringfindRole(com.thoughtworks.qdox.model.JavaClass javaClass) private static StringgetPackage(com.thoughtworks.qdox.model.JavaClass javaClass) private StringgetParameter(Map<String, String> parameters, String parameter) org.codehaus.plexus.component.repository.ComponentDescriptor<?> glean(com.thoughtworks.qdox.JavaProjectBuilder classCache, com.thoughtworks.qdox.model.JavaClass javaClass) Methods inherited from class org.codehaus.plexus.metadata.gleaner.ComponentGleanerSupport
addChildConfiguration, deHump, filterEmptyAsNull, isRequirementListType
-
Field Details
-
PLEXUS_COMPONENT_TAG
- See Also:
-
PLEXUS_REQUIREMENT_TAG
- See Also:
-
PLEXUS_CONFIGURATION_TAG
- See Also:
-
PLEXUS_VERSION_PARAMETER
- See Also:
-
PLEXUS_ROLE_PARAMETER
- See Also:
-
PLEXUS_ROLE_HINT_PARAMETER
- See Also:
-
PLEXUS_ROLE_HINT_LIST_PARAMETER
- See Also:
-
PLEXUS_ALIAS_PARAMETER
- See Also:
-
PLEXUS_DEFAULT_VALUE_PARAMETER
- See Also:
-
PLEXUS_LIFECYCLE_HANDLER_PARAMETER
- See Also:
-
PLEXUS_INSTANTIATION_STARTEGY_PARAMETER
- See Also:
-
PLEXUS_OPTIONAL_PARAMETER
- See Also:
-
PLEXUS_DEFAULT_HINT
- See Also:
-
IGNORED_INTERFACES
-
-
Constructor Details
-
QDoxComponentGleaner
public QDoxComponentGleaner()
-
-
Method Details
-
glean
public org.codehaus.plexus.component.repository.ComponentDescriptor<?> glean(com.thoughtworks.qdox.JavaProjectBuilder classCache, com.thoughtworks.qdox.model.JavaClass javaClass) throws ComponentGleanerException - Specified by:
gleanin interfaceSourceComponentGleaner- Throws:
ComponentGleanerException
-
getPackage
-
findRole
-
findRequirements
private void findRequirements(com.thoughtworks.qdox.JavaProjectBuilder classCache, org.codehaus.plexus.component.repository.ComponentDescriptor<?> componentDescriptor, com.thoughtworks.qdox.model.JavaClass javaClass) -
findConfiguration
private void findConfiguration(org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration configuration, com.thoughtworks.qdox.model.JavaClass javaClass) throws ComponentGleanerException - Throws:
ComponentGleanerException
-
findExtraParameters
-
getParameter
-