Class AfterAnnotationContent

java.lang.Object
org.apache.maven.tools.plugin.extractor.annotations.datamodel.AfterAnnotationContent

public class AfterAnnotationContent extends Object
Holds scanned data from a @After annotation (org.apache.maven.api.plugin.annotations.After).

The @After annotation declares that the annotated mojo must run after another phase has completed. It carries three attributes:

  • phase – the phase this mojo must run after
  • type – the scope type (PROJECT, DEPENDENCIES, CHILDREN)
  • scope – the dependency scope

Setter method names match the annotation attribute names so that DefaultMojoAnnotationsScanner.populateAnnotationContent(Object, MojoAnnotationVisitor) can fill them via reflection.

Since:
4.0.0