Class MojoAnnotatedClass
java.lang.Object
org.apache.maven.tools.plugin.extractor.annotations.scanner.MojoAnnotatedClass
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.maven.artifact.Artifact
artifact which contains this annotationprivate String
private Map<String,
ComponentAnnotationContent> key is field nameprivate ExecuteAnnotationContent
private MojoAnnotationContent
private Map<String,
ParameterAnnotationContent> key is field nameprivate String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.artifact.Artifact
getMojo()
boolean
void
setArtifact
(org.apache.maven.artifact.Artifact artifact) setClassName
(String className) setComponents
(Map<String, ComponentAnnotationContent> components) setExecute
(ExecuteAnnotationContent execute) setMojo
(MojoAnnotationContent mojo) setParameters
(Map<String, ParameterAnnotationContent> parameters) setParentClassName
(String parentClassName) toString()
-
Field Details
-
className
-
parentClassName
-
mojo
-
execute
-
parameters
key is field name -
components
key is field name -
artifact
private org.apache.maven.artifact.Artifact artifactartifact which contains this annotation
-
-
Constructor Details
-
MojoAnnotatedClass
public MojoAnnotatedClass()
-
-
Method Details
-
getClassName
-
setClassName
-
getMojo
-
setMojo
-
getExecute
-
setExecute
-
getParameters
-
setParameters
-
getComponents
-
setComponents
-
getParentClassName
-
setParentClassName
-
getArtifact
public org.apache.maven.artifact.Artifact getArtifact() -
setArtifact
public void setArtifact(org.apache.maven.artifact.Artifact artifact) -
hasAnnotations
public boolean hasAnnotations() -
toString
-