@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() |
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.
|
boolean |
isHideFields()
Checks if is hide fields.
|
boolean |
isHideMethods()
Checks if is hide methods.
|
void |
setDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor descriptor)
Sets the descriptor.
|
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.
|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic 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 projectCopyright © 2019. All rights reserved.