public abstract class AbstractGlossaryMojo extends AbstractDocsGeneratorMojo implements MappingRespository
AbstractAsciidoctorMojo.Format| Modifier and Type | Field and Description |
|---|---|
protected io.github.robwin.markup.builder.asciidoc.AsciiDocBuilder |
asciiDocBuilder |
protected static String |
HIBERNATE_VALIDATION_CONSTRAINTS |
protected com.thoughtworks.qdox.JavaProjectBuilder |
javaDocBuilder |
protected static String |
JAVAX_VALIDATION_CONSTRAINTS |
protected List<DomainObject> |
mappings |
protected boolean |
somethingWasGenerated |
format, glossaryMapping, onlyAnnotated, packageRoot, repositorySystemgeneratedDocsDirectory, project, TEMPLATES_OUTPUT| Constructor and Description |
|---|
AbstractGlossaryMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Predicate<com.thoughtworks.qdox.model.JavaClass> |
defaultFilter() |
protected abstract void |
executeGlossaryMojo()
Implementation main method.
|
void |
executeMojo()
Main method.
|
protected Stream<com.thoughtworks.qdox.model.JavaClass> |
getClasses() |
Optional<DomainObject> |
getMapping(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement) |
protected abstract String |
getTitle() |
protected boolean |
hasAnnotation(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement) |
appendTitle, appendTitle, createAsciiDocBuilder, getOutputFilename, write, write, writecreateAsciidoctor, execute, extractTemplatesFromJar, getOutput, options, writeprotected static final String JAVAX_VALIDATION_CONSTRAINTS
protected static final String HIBERNATE_VALIDATION_CONSTRAINTS
protected io.github.robwin.markup.builder.asciidoc.AsciiDocBuilder asciiDocBuilder
protected com.thoughtworks.qdox.JavaProjectBuilder javaDocBuilder
protected List<DomainObject> mappings
protected boolean somethingWasGenerated
public void executeMojo()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
executeMojo in class AbstractAsciidoctorMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract String getTitle()
getTitle in class AbstractDocsGeneratorMojoprotected abstract void executeGlossaryMojo()
throws Exception
Exceptionprotected Stream<com.thoughtworks.qdox.model.JavaClass> getClasses()
protected Predicate<com.thoughtworks.qdox.model.JavaClass> defaultFilter()
protected boolean hasAnnotation(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement)
public Optional<DomainObject> getMapping(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement)
getMapping in interface MappingRespositoryCopyright © 2017–2020 Focus IT. All rights reserved.