Class MojoAnnotatedClass
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.annotations.scanner.MojoAnnotatedClass
-
public class MojoAnnotatedClass extends java.lang.Object
- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.maven.artifact.Artifact
artifact
artifact which contains this annotationprivate java.lang.String
className
private int
classVersion
private java.util.Map<java.lang.String,ComponentAnnotationContent>
components
key is field nameprivate ExecuteAnnotationContent
execute
private MojoAnnotationContent
mojo
private java.util.Map<java.lang.String,ParameterAnnotationContent>
parameters
key is field nameprivate java.lang.String
parentClassName
private boolean
v4Api
-
Constructor Summary
Constructors Constructor Description MojoAnnotatedClass()
-
Method Summary
-
-
-
Field Detail
-
className
private java.lang.String className
-
classVersion
private int classVersion
-
parentClassName
private java.lang.String parentClassName
-
mojo
private MojoAnnotationContent mojo
-
execute
private ExecuteAnnotationContent execute
-
parameters
private java.util.Map<java.lang.String,ParameterAnnotationContent> parameters
key is field name
-
components
private java.util.Map<java.lang.String,ComponentAnnotationContent> components
key is field name
-
artifact
private org.apache.maven.artifact.Artifact artifact
artifact which contains this annotation
-
v4Api
private boolean v4Api
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
-
setClassName
public MojoAnnotatedClass setClassName(java.lang.String className)
-
getClassVersion
public int getClassVersion()
-
setClassVersion
public MojoAnnotatedClass setClassVersion(int classVersion)
-
getMojo
public MojoAnnotationContent getMojo()
-
setMojo
public MojoAnnotatedClass setMojo(MojoAnnotationContent mojo)
-
getExecute
public ExecuteAnnotationContent getExecute()
-
setExecute
public MojoAnnotatedClass setExecute(ExecuteAnnotationContent execute)
-
getParameters
public java.util.Map<java.lang.String,ParameterAnnotationContent> getParameters()
-
setParameters
public MojoAnnotatedClass setParameters(java.util.Map<java.lang.String,ParameterAnnotationContent> parameters)
-
getComponents
public java.util.Map<java.lang.String,ComponentAnnotationContent> getComponents()
-
setComponents
public MojoAnnotatedClass setComponents(java.util.Map<java.lang.String,ComponentAnnotationContent> components)
-
getParentClassName
public java.lang.String getParentClassName()
-
setParentClassName
public MojoAnnotatedClass setParentClassName(java.lang.String parentClassName)
-
getArtifact
public org.apache.maven.artifact.Artifact getArtifact()
-
setArtifact
public void setArtifact(org.apache.maven.artifact.Artifact artifact)
-
hasAnnotations
public boolean hasAnnotations()
-
isV4Api
public boolean isV4Api()
-
setV4Api
public void setV4Api(boolean v4Api)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-