Class MojoAnnotatedClass
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.annotations.scanner.MojoAnnotatedClass
-
public class MojoAnnotatedClass extends Object
- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description MojoAnnotatedClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.artifact.ArtifactgetArtifact()StringgetClassName()Map<String,ComponentAnnotationContent>getComponents()ExecuteAnnotationContentgetExecute()MojoAnnotationContentgetMojo()Map<String,ParameterAnnotationContent>getParameters()StringgetParentClassName()booleanhasAnnotations()voidsetArtifact(org.apache.maven.artifact.Artifact artifact)MojoAnnotatedClasssetClassName(String className)MojoAnnotatedClasssetComponents(Map<String,ComponentAnnotationContent> components)MojoAnnotatedClasssetExecute(ExecuteAnnotationContent execute)MojoAnnotatedClasssetMojo(MojoAnnotationContent mojo)MojoAnnotatedClasssetParameters(Map<String,ParameterAnnotationContent> parameters)MojoAnnotatedClasssetParentClassName(String parentClassName)StringtoString()
-
-
-
Method Detail
-
getClassName
public String getClassName()
-
setClassName
public MojoAnnotatedClass setClassName(String className)
-
getMojo
public MojoAnnotationContent getMojo()
-
setMojo
public MojoAnnotatedClass setMojo(MojoAnnotationContent mojo)
-
getExecute
public ExecuteAnnotationContent getExecute()
-
setExecute
public MojoAnnotatedClass setExecute(ExecuteAnnotationContent execute)
-
getParameters
public Map<String,ParameterAnnotationContent> getParameters()
-
setParameters
public MojoAnnotatedClass setParameters(Map<String,ParameterAnnotationContent> parameters)
-
getComponents
public Map<String,ComponentAnnotationContent> getComponents()
-
setComponents
public MojoAnnotatedClass setComponents(Map<String,ComponentAnnotationContent> components)
-
getParentClassName
public String getParentClassName()
-
setParentClassName
public MojoAnnotatedClass setParentClassName(String parentClassName)
-
getArtifact
public org.apache.maven.artifact.Artifact getArtifact()
-
setArtifact
public void setArtifact(org.apache.maven.artifact.Artifact artifact)
-
hasAnnotations
public boolean hasAnnotations()
-
-