public abstract class CommonGlossaryMojoDefinition extends CommonMojoDefinition
CommonMojoDefinition.Format| Modifier and Type | Field and Description |
|---|---|
protected io.github.robwin.markup.builder.asciidoc.AsciiDocBuilder |
asciiDocBuilder |
protected com.thoughtworks.qdox.JavaProjectBuilder |
javaDocBuilder |
protected List<MappingDefinition> |
mappings |
format, outputDirectory, outputFilename, project, repositorySystem, template| Constructor and Description |
|---|
CommonGlossaryMojoDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
defaultString(Integer id,
String defaultString) |
protected static Predicate<MappingDefinition> |
distinctByKey() |
void |
execute() |
protected abstract void |
executeMojo() |
protected Stream<com.thoughtworks.qdox.model.JavaClass> |
getClasses() |
protected Optional<MappingDefinition> |
getDefinition(Optional<Integer> id) |
protected String |
getDescription(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElemen,
String defaultValue) |
protected Optional<com.thoughtworks.qdox.model.JavaAnnotation> |
getGlossary(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement) |
protected Optional<Integer> |
getGlossaryId(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement) |
protected String |
getName(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement,
String defaultValue) |
protected abstract String |
getTitle() |
protected boolean |
hasAnnotation(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement) |
protected String |
idFromName(MappingDefinition def) |
protected MappingDefinition |
map(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement,
String name,
String comment) |
getDefaultFilename, getFilename, getFilenameWithoutExtension, getOutputprotected io.github.robwin.markup.builder.asciidoc.AsciiDocBuilder asciiDocBuilder
protected com.thoughtworks.qdox.JavaProjectBuilder javaDocBuilder
protected List<MappingDefinition> mappings
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract String getTitle()
protected abstract void executeMojo()
protected Stream<com.thoughtworks.qdox.model.JavaClass> getClasses()
protected boolean hasAnnotation(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement)
protected Optional<com.thoughtworks.qdox.model.JavaAnnotation> getGlossary(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement)
protected Optional<Integer> getGlossaryId(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement)
protected Optional<MappingDefinition> getDefinition(Optional<Integer> id)
protected String getName(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement, String defaultValue)
protected String getDescription(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElemen, String defaultValue)
protected MappingDefinition map(com.thoughtworks.qdox.model.JavaAnnotatedElement annotatedElement, String name, String comment)
protected static Predicate<MappingDefinition> distinctByKey()
protected String idFromName(MappingDefinition def)
Copyright © 2017 Focus IT. All rights reserved.