Class ParameterAnnotationContent
- 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.ParameterAnnotationContent
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
public class ParameterAnnotationContent extends AnnotatedField implements org.apache.maven.plugins.annotations.Parameter
- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description ParameterAnnotationContent(java.lang.String fieldName, java.lang.String className)
ParameterAnnotationContent(java.lang.String fieldName, java.lang.String alias, java.lang.String property, java.lang.String defaultValue, boolean required, boolean readonly, java.lang.String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
alias()
void
alias(java.lang.String alias)
java.lang.Class<? extends java.lang.annotation.Annotation>
annotationType()
java.lang.String
defaultValue()
void
defaultValue(java.lang.String defaultValue)
boolean
equals(java.lang.Object o)
java.lang.String
getClassName()
int
hashCode()
java.lang.String
name()
void
name(java.lang.String name)
java.lang.String
property()
void
property(java.lang.String property)
boolean
readonly()
void
readonly(boolean readonly)
boolean
required()
void
required(boolean required)
void
setClassName(java.lang.String className)
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
-
-
-
-
Constructor Detail
-
ParameterAnnotationContent
public ParameterAnnotationContent(java.lang.String fieldName, java.lang.String className)
-
ParameterAnnotationContent
public ParameterAnnotationContent(java.lang.String fieldName, java.lang.String alias, java.lang.String property, java.lang.String defaultValue, boolean required, boolean readonly, java.lang.String className)
-
-
Method Detail
-
name
public java.lang.String name()
-
name
public void name(java.lang.String name)
-
alias
public java.lang.String alias()
-
alias
public void alias(java.lang.String alias)
-
property
public java.lang.String property()
-
property
public void property(java.lang.String property)
-
defaultValue
public java.lang.String defaultValue()
-
defaultValue
public void defaultValue(java.lang.String defaultValue)
-
required
public boolean required()
-
required
public void required(boolean required)
-
readonly
public boolean readonly()
-
readonly
public void readonly(boolean readonly)
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interfacejava.lang.annotation.Annotation
-
getClassName
public java.lang.String getClassName()
-
setClassName
public void setClassName(java.lang.String className)
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.annotation.Annotation
- Overrides:
toString
in classAnnotatedField
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.lang.annotation.Annotation
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.lang.annotation.Annotation
- Overrides:
hashCode
in classjava.lang.Object
-
-