Class PlantUMLGeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.elnarion.maven.plugin.plantuml.generator.AbstractPlantUMLGeneratorMojo
de.elnarion.maven.plugin.plantuml.generator.PlantUMLGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate", defaultPhase=GENERATE_SOURCES, threadSafe=true, requiresDependencyResolution=COMPILE, requiresProject=true) public class PlantUMLGeneratorMojo extends AbstractPlantUMLGeneratorMojo
This Mojo is used as maven frontend of the PlantUMLClassDiagramGenerator in the artifact plantuml-generator-util.
  • Constructor Details

    • PlantUMLGeneratorMojo

      public PlantUMLGeneratorMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Execute.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - the mojo execution exception
      org.apache.maven.plugin.MojoFailureException - the mojo failure exception
    • isHideFields

      public boolean isHideFields()
      Checks if is hide fields.
      Returns:
      true, if is hide fields
    • setHideFields

      public void setHideFields(boolean hideFields)
      Sets the hide fields.
      Parameters:
      hideFields - the hide fields
    • isHideMethods

      public boolean isHideMethods()
      Checks if is hide methods.
      Returns:
      true, if is hide methods
    • setHideMethods

      public void setHideMethods(boolean hideMethods)
      Sets the hide methods.
      Parameters:
      hideMethods - the hide methods
    • getScanPackages

      public List<String> getScanPackages()
      Gets the scan packages.
      Returns:
      List - the scan packages
    • setScanPackages

      public void setScanPackages(List<String> scanPackages)
      Sets the scan packages.
      Parameters:
      scanPackages - the scan packages
    • getHideClasses

      public List<String> getHideClasses()
      Gets the hide classes.
      Returns:
      List - the hide classes
    • setHideClasses

      public void setHideClasses(List<String> hideClasses)
      Sets the hide classes.
      Parameters:
      hideClasses - the hide classes
    • getWhitelistRegexp

      public String getWhitelistRegexp()
      Gets the whitelist regexp.
      Returns:
      the whitelist regexp
    • setWhitelistRegexp

      public void setWhitelistRegexp(String whitelistRegexp)
      Sets the whitelist regexp.
      Parameters:
      whitelistRegexp - the new whitelist regexp
    • getBlacklistRegexp

      public String getBlacklistRegexp()
      Gets the blacklist regexp.
      Returns:
      the blacklist regexp
    • setBlacklistRegexp

      public void setBlacklistRegexp(String blacklistRegexp)
      Sets the blacklist regexp.
      Parameters:
      blacklistRegexp - the new blacklist regexp
    • isAddJPAAnnotations

      public boolean isAddJPAAnnotations()
      Checks if is adds the JPA annotations.
      Returns:
      true, if is adds the JPA annotations
    • setAddJPAAnnotations

      public void setAddJPAAnnotations(boolean addJPAAnnotations)
      Sets the adds the JPA annotations.
      Parameters:
      addJPAAnnotations - the new adds the JPA annotations