Class AfterAnnotationContent
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.AfterAnnotationContent
-
public class AfterAnnotationContent extends java.lang.ObjectHolds scanned data from a@Afterannotation (org.apache.maven.api.plugin.annotations.After).The
@Afterannotation declares that the annotated mojo must run after another phase has completed. It carries three attributes:phase– the phase this mojo must run aftertype– the scope type (PROJECT,DEPENDENCIES,CHILDREN)scope– the dependency scope
Setter method names match the annotation attribute names so that
DefaultMojoAnnotationsScanner.populateAnnotationContent(java.lang.Object, org.apache.maven.tools.plugin.extractor.annotations.scanner.visitors.MojoAnnotationVisitor)can fill them via reflection.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description AfterAnnotationContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringphase()voidphase(java.lang.String phase)java.lang.Stringscope()voidscope(java.lang.String scope)java.lang.StringtoString()java.lang.Stringtype()voidtype(java.lang.String type)
-
-
-
Method Detail
-
phase
public java.lang.String phase()
-
phase
public void phase(java.lang.String phase)
-
type
public java.lang.String type()
-
type
public void type(java.lang.String type)
-
scope
public java.lang.String scope()
-
scope
public void scope(java.lang.String scope)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-