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
  • Constructor Details

    • AfterAnnotationContent

      public AfterAnnotationContent()
  • Method Details

    • phase

      public String phase()
    • phase

      public void phase(String phase)
    • type

      public String type()
    • type

      public void type(String type)
    • scope

      public String scope()
    • scope

      public void scope(String scope)
    • toString

      public String toString()
      Overrides:
      toString in class Object