Class PlantUMLSequenceDiagramGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.elnarion.maven.plugin.plantuml.generator.AbstractPlantUMLGeneratorMojo
de.elnarion.maven.plugin.plantuml.generator.PlantUMLSequenceDiagramGeneratorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generateSequenceDiagram",
defaultPhase=GENERATE_SOURCES,
threadSafe=true,
requiresDependencyResolution=COMPILE,
requiresProject=true)
public class PlantUMLSequenceDiagramGeneratorMojo
extends AbstractPlantUMLGeneratorMojo
This Mojo is used as maven frontend of the PlantUMLClassDiagramGenerator in
the artifact plantuml-generator-util.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute.Gets the class blacklist regexp.Gets the method blacklist regexp.Gets the start class.Gets the start method.booleanChecks if is hide method name.booleanChecks if is hide super class.booleanChecks if is ignore JPA entities.booleanChecks if is ignore standard classes.booleanChecks if is show return types.booleanChecks if is use short class names.voidsetClassBlacklistRegexp(String classBlacklistRegexp) Sets the class blacklist regexp.voidsetHideMethodName(boolean hideMethodName) Sets the hide method name.voidsetHideSuperClass(boolean hideSuperClass) Sets the hide super class.voidsetIgnoreJPAEntities(boolean ignoreJPAEntities) Sets the ignore JPA entities.voidsetIgnoreStandardClasses(boolean ignoreStandardClasses) Sets the ignore standard classes.voidsetMethodBlacklistRegexp(String methodBlacklistRegexp) Sets the method blacklist regexp.voidsetShowReturnTypes(boolean showReturnTypes) Sets the show return types.voidsetStartClass(String startClass) Sets the start class.voidsetStartMethod(String startMethod) Sets the start method.voidsetUseShortClassNames(boolean useShortClassNames) Sets the use short class names.Methods inherited from class de.elnarion.maven.plugin.plantuml.generator.AbstractPlantUMLGeneratorMojo
createAsciidocWrappedDiagramText, createMarkdownWrappedDiagramText, getAdditionalPlantUmlConfigs, getAsciidocDiagramBlockDelimiter, getAsciidocDiagramImageFormat, getAsciidocDiagramName, getCompileClassLoader, getDescriptor, getEncoding, getOutputDirectory, getOutputFilename, getProject, isEnableAsciidocWrapper, isEnableMarkdowncWrapper, setAdditionalPlantUmlConfigs, setAsciidocDiagramBlockDelimiter, setAsciidocDiagramImageFormat, setAsciidocDiagramName, setDescriptor, setEnableAsciidocWrapper, setEnableMarkdownWrapper, setEncoding, setOutputDirectory, setOutputFilename, setProject, writeDiagramToFileMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
PlantUMLSequenceDiagramGeneratorMojo
public PlantUMLSequenceDiagramGeneratorMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionExecute.- Throws:
org.apache.maven.plugin.MojoExecutionException- the mojo execution exceptionorg.apache.maven.plugin.MojoFailureException- the mojo failure exception
-
getClassBlacklistRegexp
Gets the class blacklist regexp.- Returns:
- the class blacklist regexp
-
setClassBlacklistRegexp
Sets the class blacklist regexp.- Parameters:
classBlacklistRegexp- the new class blacklist regexp
-
isHideMethodName
public boolean isHideMethodName()Checks if is hide method name.- Returns:
- true, if is hide method name
-
setHideMethodName
public void setHideMethodName(boolean hideMethodName) Sets the hide method name.- Parameters:
hideMethodName- the new hide method name
-
isHideSuperClass
public boolean isHideSuperClass()Checks if is hide super class.- Returns:
- true, if is hide super class
-
setHideSuperClass
public void setHideSuperClass(boolean hideSuperClass) Sets the hide super class.- Parameters:
hideSuperClass- the new hide super class
-
isIgnoreJPAEntities
public boolean isIgnoreJPAEntities()Checks if is ignore JPA entities.- Returns:
- true, if is ignore JPA entities
-
setIgnoreJPAEntities
public void setIgnoreJPAEntities(boolean ignoreJPAEntities) Sets the ignore JPA entities.- Parameters:
ignoreJPAEntities- the new ignore JPA entities
-
isIgnoreStandardClasses
public boolean isIgnoreStandardClasses()Checks if is ignore standard classes.- Returns:
- true, if is ignore standard classes
-
setIgnoreStandardClasses
public void setIgnoreStandardClasses(boolean ignoreStandardClasses) Sets the ignore standard classes.- Parameters:
ignoreStandardClasses- the new ignore standard classes
-
getMethodBlacklistRegexp
Gets the method blacklist regexp.- Returns:
- the method blacklist regexp
-
setMethodBlacklistRegexp
Sets the method blacklist regexp.- Parameters:
methodBlacklistRegexp- the new method blacklist regexp
-
isShowReturnTypes
public boolean isShowReturnTypes()Checks if is show return types.- Returns:
- true, if is show return types
-
setShowReturnTypes
public void setShowReturnTypes(boolean showReturnTypes) Sets the show return types.- Parameters:
showReturnTypes- the new show return types
-
isUseShortClassNames
public boolean isUseShortClassNames()Checks if is use short class names.- Returns:
- true, if is use short class names
-
setUseShortClassNames
public void setUseShortClassNames(boolean useShortClassNames) Sets the use short class names.- Parameters:
useShortClassNames- the new use short class names
-
getStartClass
Gets the start class.- Returns:
- the start class
-
setStartClass
Sets the start class.- Parameters:
startClass- the new start class
-
getStartMethod
Gets the start method.- Returns:
- the start method
-
setStartMethod
Sets the start method.- Parameters:
startMethod- the new start method
-