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 String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface org.codehaus.plexus.metadata.gleaner.SourceComponentGleaner
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
findConfiguration
(XmlPlexusConfiguration configuration, com.thoughtworks.qdox.model.JavaClass javaClass) private void
findExtraParameters
(String tagName, Map<String, String> parameters) private void
findRequirements
(com.thoughtworks.qdox.JavaProjectBuilder classCache, ComponentDescriptor<?> componentDescriptor, com.thoughtworks.qdox.model.JavaClass javaClass) private String
findRole
(com.thoughtworks.qdox.model.JavaClass javaClass) private static String
getPackage
(com.thoughtworks.qdox.model.JavaClass javaClass) private String
getParameter
(Map<String, String> parameters, String parameter) 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 ComponentDescriptor<?> glean(com.thoughtworks.qdox.JavaProjectBuilder classCache, com.thoughtworks.qdox.model.JavaClass javaClass) throws ComponentGleanerException - Specified by:
glean
in interfaceSourceComponentGleaner
- Throws:
ComponentGleanerException
-
getPackage
-
findRole
-
findRequirements
private void findRequirements(com.thoughtworks.qdox.JavaProjectBuilder classCache, ComponentDescriptor<?> componentDescriptor, com.thoughtworks.qdox.model.JavaClass javaClass) -
findConfiguration
private void findConfiguration(XmlPlexusConfiguration configuration, com.thoughtworks.qdox.model.JavaClass javaClass) throws ComponentGleanerException - Throws:
ComponentGleanerException
-
findExtraParameters
-
getParameter
-