Class Generator

java.lang.Object
org.apache.maven.plugin.AbstractMojo
ru.volnenko.maven.plugin.databasedoc.Generator
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate", defaultPhase=COMPILE) public final class Generator extends org.apache.maven.plugin.AbstractMojo
  • Field Details

    • serviceName

      @Parameter(property="serviceName") public String serviceName
    • dataBaseInfo

      @Parameter(property="dataBaseInfo") public String dataBaseInfo
    • headerFirstEnabled

      @Parameter(property="headerFirstEnabled") public boolean headerFirstEnabled
    • headerSecondEnabled

      @Parameter(property="headerSecondEnabled") public boolean headerSecondEnabled
    • tableOfContentsEnabled

      @Parameter(property="tableOfContentsEnabled") public boolean tableOfContentsEnabled
    • entityRelationDiagramEnabled

      @Parameter(property="tableOfContentsEnabled") public boolean entityRelationDiagramEnabled
    • entityRelationDiagramPhysicEnabled

      @Parameter(property="entityRelationDiagramPhysicEnabled") public boolean entityRelationDiagramPhysicEnabled
    • entityRelationDiagramLogicEnabled

      @Parameter(property="entityRelationDiagramLogicEnabled") public boolean entityRelationDiagramLogicEnabled
    • entityRelationDiagramInclude

      @Parameter(property="entityRelationDiagramInclude") public boolean entityRelationDiagramInclude
    • outputPath

      @Parameter(property="outputPath") public String outputPath
    • outputJsonFile

      @Parameter(property="outputJsonFile") public String outputJsonFile
    • outputJsonFileEnabled

      @Parameter(property="outputJsonFileEnabled") public Boolean outputJsonFileEnabled
    • outputYamlFile

      @Parameter(property="outputYamlFile") public String outputYamlFile
    • outputYamlFileEnabled

      @Parameter(property="outputYamlFileEnabled") public Boolean outputYamlFileEnabled
    • outputFile

      @Parameter(property="outputFile") public String outputFile
  • Constructor Details

    • Generator

      public Generator()
  • Method Details

    • execute

      public void execute()
    • save

      public void save(@NonNull @NonNull List<Root> roots)