@Mojo(name="generate",
defaultPhase=GENERATE_SOURCES,
threadSafe=true,
requiresDependencyResolution=COMPILE,
requiresProject=true)
public class PlantUMLGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
PlantUMLGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute.
|
String |
getAsciidocDiagramBlockDelimiter()
Gets the asciidoc diagram block delimiter.
|
String |
getAsciidocDiagramImageFormat()
Gets the asciidoc diagram image type.
|
String |
getAsciidocDiagramName()
Gets the asciidoc diagram name.
|
String |
getBlacklistRegexp()
Gets the blacklist regexp.
|
org.apache.maven.plugin.descriptor.PluginDescriptor |
getDescriptor()
Gets the descriptor.
|
String |
getEncoding()
Gets the encoding.
|
List<String> |
getHideClasses()
Gets the hide classes.
|
File |
getOutputDirectory()
Gets the output directory.
|
String |
getOutputFilename()
Gets the output filename.
|
org.apache.maven.project.MavenProject |
getProject()
Gets the project.
|
List<String> |
getScanPackages()
Gets the scan packages.
|
String |
getWhitelistRegexp()
Gets the whitelist regexp.
|
boolean |
isEnableAsciidocWrapper()
Checks if is enable asciidoc wrapper.
|
boolean |
isHideFields()
Checks if is hide fields.
|
boolean |
isHideMethods()
Checks if is hide methods.
|
void |
setAsciidocDiagramBlockDelimiter(String asciidocDiagramBlockDelimiter)
Sets the asciidoc diagram block delimiter.
|
void |
setAsciidocDiagramImageFormat(String asciidocDiagramImageFormat)
Sets the asciidoc diagram image type.
|
void |
setAsciidocDiagramName(String asciidocDiagramName)
Sets the asciidoc diagram name.
|
void |
setBlacklistRegexp(String blacklistRegexp)
Sets the blacklist regexp.
|
void |
setDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor descriptor)
Sets the descriptor.
|
void |
setEnableAsciidocWrapper(boolean enableAsciidocWrapper)
Sets the enable asciidoc wrapper.
|
void |
setEncoding(String encoding)
Sets the encoding.
|
void |
setHideClasses(List<String> hideClasses)
Sets the hide classes.
|
void |
setHideFields(boolean hideFields)
Sets the hide fields.
|
void |
setHideMethods(boolean hideMethods)
Sets the hide methods.
|
void |
setOutputDirectory(File outputDirectory)
Sets the output directory.
|
void |
setOutputFilename(String outputFilename)
Sets the output filename.
|
void |
setProject(org.apache.maven.project.MavenProject project)
Sets the project.
|
void |
setScanPackages(List<String> scanPackages)
Sets the scan packages.
|
void |
setWhitelistRegexp(String whitelistRegexp)
Sets the whitelist regexp.
|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - the mojo execution exceptionorg.apache.maven.plugin.MojoFailureException - the mojo failure exceptionpublic String getEncoding()
public void setEncoding(String encoding)
encoding - the encodingpublic File getOutputDirectory()
public void setOutputDirectory(File outputDirectory)
outputDirectory - the output directorypublic String getOutputFilename()
public void setOutputFilename(String outputFilename)
outputFilename - the output filenamepublic boolean isHideFields()
public void setHideFields(boolean hideFields)
hideFields - the hide fieldspublic boolean isHideMethods()
public void setHideMethods(boolean hideMethods)
hideMethods - the hide methodspublic List<String> getScanPackages()
public void setScanPackages(List<String> scanPackages)
scanPackages - the scan packagespublic List<String> getHideClasses()
public void setHideClasses(List<String> hideClasses)
hideClasses - the hide classespublic org.apache.maven.plugin.descriptor.PluginDescriptor getDescriptor()
public void setDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor descriptor)
descriptor - the descriptorpublic org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
project - the projectpublic String getWhitelistRegexp()
public void setWhitelistRegexp(String whitelistRegexp)
whitelistRegexp - the new whitelist regexppublic String getBlacklistRegexp()
public void setBlacklistRegexp(String blacklistRegexp)
blacklistRegexp - the new blacklist regexppublic boolean isEnableAsciidocWrapper()
public void setEnableAsciidocWrapper(boolean enableAsciidocWrapper)
enableAsciidocWrapper - the new enable asciidoc wrapperpublic String getAsciidocDiagramName()
public void setAsciidocDiagramName(String asciidocDiagramName)
asciidocDiagramName - the new asciidoc diagram namepublic String getAsciidocDiagramImageFormat()
public void setAsciidocDiagramImageFormat(String asciidocDiagramImageFormat)
asciidocDiagramImageFormat - the new asciidoc diagram image typepublic String getAsciidocDiagramBlockDelimiter()
public void setAsciidocDiagramBlockDelimiter(String asciidocDiagramBlockDelimiter)
asciidocDiagramBlockDelimiter - the new asciidoc diagram block delimiterCopyright © 2020. All rights reserved.