Class ComponentAnnotationContent
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedContent
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.ComponentAnnotationContent
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
public class ComponentAnnotationContent extends AnnotatedField implements org.apache.maven.plugins.annotations.Component
- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description ComponentAnnotationContent(java.lang.String fieldName)
ComponentAnnotationContent(java.lang.String fieldName, java.lang.String role, java.lang.String hint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>
annotationType()
java.lang.String
getRoleClassName()
java.lang.String
hint()
void
hint(java.lang.String hint)
java.lang.Class<?>
role()
void
setRoleClassName(java.lang.String roleClassName)
java.lang.String
toString()
-
Methods inherited from class org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField
compareTo, getFieldName, setFieldName
-
Methods inherited from class org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedContent
getDeprecated, getDescription, getSince, setDeprecated, setDescription, setSince
-
-
-
-
Method Detail
-
role
public java.lang.Class<?> role()
-
setRoleClassName
public void setRoleClassName(java.lang.String roleClassName)
-
getRoleClassName
public java.lang.String getRoleClassName()
-
hint
public java.lang.String hint()
-
hint
public void hint(java.lang.String hint)
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interfacejava.lang.annotation.Annotation
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.annotation.Annotation
- Overrides:
toString
in classAnnotatedField
-
-