Class PlantUMLClassDiagramConfig
java.lang.Object
de.elnarion.util.plantuml.generator.classdiagram.config.PlantUMLClassDiagramConfig
The Class PlantUMLConfig.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new plant UML config. -
Method Summary
Modifier and TypeMethodDescriptionGets the additional plant uml configs.Gets the destination classloader.Gets the field classifier to ignore.Gets the method classifier to ignore.booleanChecks if is adds the Javax Validation annotations.booleanChecks if is adds the JPA annotations.booleanbooleanbooleanbooleanbooleanChecks if is use short class names.booleanChecks if is use short class names in fields and methods.booleanChecks if generating uml files using Smetana renderer enabled.voidsetAddJavaxValidationAnnotations(boolean addJavaxValidationAnnotations) Sets the adds the Javax Validation annotations.voidsetAddJPAAnnotations(boolean addJPAAnnotations) Sets the adds the JPA annotations.protected voidsetBlacklistRegexp(String blacklistRegexp) protected voidsetDestinationClassloader(ClassLoader destinationClassloader) protected voidsetFieldBlacklistRegexp(String fieldBlacklistRegexp) protected voidsetHideClasses(List<String> hideClasses) protected voidsetHideFields(boolean hideFields) protected voidsetHideMethods(boolean hideMethods) voidsetMaxVisibilityFields(VisibilityType maxVisibilityFields) voidsetMaxVisibilityMethods(VisibilityType maxVisibilityMethods) protected voidsetMethodBlacklistRegexp(String methodBlacklistRegexp) protected voidsetRemoveFields(boolean removeFields) protected voidsetRemoveMethods(boolean removeMethods) protected voidsetScanPackages(List<String> scanPackages) voidsetUseShortClassNames(boolean useShortClassNames) Sets the use short class names.voidsetUseShortClassNamesInFieldsAndMethods(boolean useShortClassNamesInFieldsAndMethods) Sets the use short class names in fields and methods.voidsetUseSmetana(boolean useSmetana) Enables generating uml files enabling to use internal Smetana renderer in favor of GraphViz Smetana.protected voidsetWhitelistRegexp(String whitelistRegexp)
-
Constructor Details
-
PlantUMLClassDiagramConfig
protected PlantUMLClassDiagramConfig()Instantiates a new plant UML config.
-
-
Method Details
-
getMethodClassifierToIgnore
Gets the method classifier to ignore.- Returns:
- the method classifier to ignore
-
getFieldClassifierToIgnore
Gets the field classifier to ignore.- Returns:
- the field classifier to ignore
-
getDestinationClassloader
Gets the destination classloader.- Returns:
- ClassLoader
-
setDestinationClassloader
- Parameters:
destinationClassloader- the new destination classloader
-
getScanPackages
- Returns:
- List
-
setScanPackages
- Parameters:
scanPackages- the new scan packages
-
getBlacklistRegexp
- Returns:
- String
-
setBlacklistRegexp
- Parameters:
blacklistRegexp- the new blacklist regexp
-
getWhitelistRegexp
- Returns:
- String
-
setWhitelistRegexp
- Parameters:
whitelistRegexp- the new whitelist regexp
-
getHideClasses
- Returns:
- List
-
setHideClasses
- Parameters:
hideClasses- the new hide classes
-
isHideFields
public boolean isHideFields()- Returns:
- boolean
-
setHideFields
protected void setHideFields(boolean hideFields) - Parameters:
hideFields- the new hide fields
-
isHideMethods
public boolean isHideMethods()- Returns:
- boolean
-
setHideMethods
protected void setHideMethods(boolean hideMethods) - Parameters:
hideMethods- the new hide methods
-
isRemoveFields
public boolean isRemoveFields()- Returns:
- boolean
-
setRemoveFields
protected void setRemoveFields(boolean removeFields) - Parameters:
removeFields- the new removes the fields
-
isRemoveMethods
public boolean isRemoveMethods()- Returns:
- boolean
-
setRemoveMethods
protected void setRemoveMethods(boolean removeMethods) - Parameters:
removeMethods- the new removes the methods
-
getFieldBlacklistRegexp
- Returns:
- String
-
setFieldBlacklistRegexp
- Parameters:
fieldBlacklistRegexp- the new field blacklist regexp
-
getMethodBlacklistRegexp
- Returns:
- String
-
setMethodBlacklistRegexp
- Parameters:
methodBlacklistRegexp- the new method blacklist regexp
-
getMaxVisibilityFields
- Returns:
- VisibilityType
-
setMaxVisibilityFields
- Parameters:
maxVisibilityFields- the new max visibility fields
-
getMaxVisibilityMethods
- Returns:
- VisibilityType
-
setMaxVisibilityMethods
- Parameters:
maxVisibilityMethods- the new max visibility methods
-
isAddJPAAnnotations
public boolean isAddJPAAnnotations()Checks if is adds the JPA annotations.- Returns:
- true, if is adds the JPA annotations
-
setAddJPAAnnotations
public void setAddJPAAnnotations(boolean addJPAAnnotations) Sets the adds the JPA annotations.- Parameters:
addJPAAnnotations- the new adds the JPA annotations
-
isAddJavaxValidationAnnotations
public boolean isAddJavaxValidationAnnotations()Checks if is adds the Javax Validation annotations.- Returns:
- true, if is adds the Javax Validation annotations
-
setAddJavaxValidationAnnotations
public void setAddJavaxValidationAnnotations(boolean addJavaxValidationAnnotations) Sets the adds the Javax Validation annotations.- Parameters:
addJavaxValidationAnnotations- the new adds the Javax Validation annotations
-
getAdditionalPlantUmlConfigs
Gets the additional plant uml configs.- Returns:
- List
-
setUseSmetana
public void setUseSmetana(boolean useSmetana) Enables generating uml files enabling to use internal Smetana renderer in favor of GraphViz Smetana. -
isUseSmetana
public boolean isUseSmetana()Checks if generating uml files using Smetana renderer enabled.- Returns:
- true, if Smetana is enabled
-
isUseShortClassNamesInFieldsAndMethods
public boolean isUseShortClassNamesInFieldsAndMethods()Checks if is use short class names in fields and methods.- Returns:
- true, if is use short class names in fields and methods
-
setUseShortClassNamesInFieldsAndMethods
public void setUseShortClassNamesInFieldsAndMethods(boolean useShortClassNamesInFieldsAndMethods) Sets the use short class names in fields and methods.- Parameters:
useShortClassNamesInFieldsAndMethods- the new use short class names in fields and methods
-
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
-