Class PlantUMLClassDiagramConfigBuilder
java.lang.Object
de.elnarion.util.plantuml.generator.classdiagram.config.PlantUMLClassDiagramConfigBuilder
The Class PlantUMLClassDiagramConfigBuilder.
-
Constructor Summary
ConstructorsConstructorDescriptionPlantUMLClassDiagramConfigBuilder(String paramWhitelistRegexp) Instantiates a new plant UML class diagram config builder.PlantUMLClassDiagramConfigBuilder(String paramBlacklistRegexp, List<String> paramPackagesToScan) Instantiates a new plant UML class diagram config builder.PlantUMLClassDiagramConfigBuilder(List<String> paramPackagesToScan) Instantiates a new plant UML class diagram config builder.PlantUMLClassDiagramConfigBuilder(List<String> paramPackagesToScan, String paramWhitelistRegexp) Instantiates a new plant UML class diagram config builder. -
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalPlantUmlConfigs(List<String> additionalPlantUmlConfigs) Adds the additional plant uml configs.addFieldClassifiersToIgnore(List<ClassifierType> paramClassiferList) Adds the field classifiers to ignore.addFieldClassifierToIgnore(ClassifierType paramClassifier) Adds the field classifier to ignore.addMethodClassifiersToIgnore(List<ClassifierType> paramClassiferList) Adds the method classifiers to ignore.addMethodClassifierToIgnore(ClassifierType paramClassifier) Adds the method classifier to ignore.build()Builds the.withClassLoader(ClassLoader paramDestinationClassLoader) With class loader.withFieldBlacklistRegexp(String paramBlacklistFieldRegexp) With field blacklist regexp.withHideClasses(List<String> paramClassesToHide) With hide classes.withHideFieldsParameter(boolean paramHideFields) With hide fields parameter.withHideMethods(boolean paramHideMethods) With hide methods.withJavaxValidationAnnotations(boolean paramAddJavaxValidationAnnotations) With Javax Validation annotations.withJPAAnnotations(boolean paramAddJPAAnnotations) With JPA annotations.withMaximumFieldVisibility(VisibilityType paramVisibility) With maximum field visibility.withMaximumMethodVisibility(VisibilityType paramVisibility) With maximum method visibility.withMethodBlacklistRegexp(String paramBlacklistMethodRegexp) With method blacklist regexp.withRemoveFields(boolean paramRemoveFields) With remove fields.withRemoveMethods(boolean paramRemoveMethods) With remove methods.withUseShortClassNames(boolean paramUseShortClassNames) Use short class names in all cases.withUseShortClassNamesInFieldsAndMethods(boolean paramUseShortClassNamesInFieldsAndMethods) use short class names in fields and methods.withUseSmetana(boolean paramRemoveFields) With remove fields.
-
Constructor Details
-
PlantUMLClassDiagramConfigBuilder
Instantiates a new plant UML class diagram config builder.- Parameters:
paramPackagesToScan- the param packages to scan
-
PlantUMLClassDiagramConfigBuilder
public PlantUMLClassDiagramConfigBuilder(String paramBlacklistRegexp, List<String> paramPackagesToScan) Instantiates a new plant UML class diagram config builder.- Parameters:
paramBlacklistRegexp- the param blacklist regexpparamPackagesToScan- the param packages to scan
-
PlantUMLClassDiagramConfigBuilder
Instantiates a new plant UML class diagram config builder.- Parameters:
paramWhitelistRegexp- the param whitelist regexp
-
PlantUMLClassDiagramConfigBuilder
public PlantUMLClassDiagramConfigBuilder(List<String> paramPackagesToScan, String paramWhitelistRegexp) Instantiates a new plant UML class diagram config builder.- Parameters:
paramPackagesToScan- the param packages to scanparamWhitelistRegexp- the param whitelist regexp
-
-
Method Details
-
withUseSmetana
With remove fields.- Parameters:
paramRemoveFields- the param remove fields- Returns:
- PlantUMLConfigBuilder
-
withClassLoader
With class loader.- Parameters:
paramDestinationClassLoader- the param destination class loader- Returns:
- PlantUMLConfigBuilder
-
withHideMethods
With hide methods.- Parameters:
paramHideMethods- the param hide methods- Returns:
- PlantUMLConfigBuilder
-
withJPAAnnotations
With JPA annotations.- Parameters:
paramAddJPAAnnotations- the param add JPA annotations- Returns:
- the plant UML class diagram config builder
-
withJavaxValidationAnnotations
public PlantUMLClassDiagramConfigBuilder withJavaxValidationAnnotations(boolean paramAddJavaxValidationAnnotations) With Javax Validation annotations.- Parameters:
paramAddJavaxValidationAnnotations- the param add Javax Validation annotations- Returns:
- the plant UML class diagram config builder
-
withHideFieldsParameter
With hide fields parameter.- Parameters:
paramHideFields- the param hide fields- Returns:
- PlantUMLConfigBuilder
-
withHideClasses
With hide classes.- Parameters:
paramClassesToHide- the param classes to hide- Returns:
- PlantUMLConfigBuilder
-
withRemoveMethods
With remove methods.- Parameters:
paramRemoveMethods- the param remove methods- Returns:
- PlantUMLConfigBuilder
-
withUseShortClassNamesInFieldsAndMethods
public PlantUMLClassDiagramConfigBuilder withUseShortClassNamesInFieldsAndMethods(boolean paramUseShortClassNamesInFieldsAndMethods) use short class names in fields and methods.- Parameters:
paramUseShortClassNamesInFieldsAndMethods- the param use short class names in fields and methods- Returns:
- the plant UML class diagram config builder
-
withUseShortClassNames
Use short class names in all cases.- Parameters:
paramUseShortClassNames- the param use short class names- Returns:
- the plant UML class diagram config builder
-
withRemoveFields
With remove fields.- Parameters:
paramRemoveFields- the param remove fields- Returns:
- PlantUMLConfigBuilder
-
withFieldBlacklistRegexp
With field blacklist regexp.- Parameters:
paramBlacklistFieldRegexp- the param blacklist field regexp- Returns:
- PlantUMLConfigBuilder
-
withMethodBlacklistRegexp
public PlantUMLClassDiagramConfigBuilder withMethodBlacklistRegexp(String paramBlacklistMethodRegexp) With method blacklist regexp.- Parameters:
paramBlacklistMethodRegexp- the param blacklist method regexp- Returns:
- PlantUMLConfigBuilder
-
withMaximumMethodVisibility
public PlantUMLClassDiagramConfigBuilder withMaximumMethodVisibility(VisibilityType paramVisibility) With maximum method visibility.- Parameters:
paramVisibility- the param visibility- Returns:
- the plant UML class diagram config builder
-
withMaximumFieldVisibility
With maximum field visibility.- Parameters:
paramVisibility- the param visibility- Returns:
- the plant UML class diagram config builder
-
addFieldClassifierToIgnore
Adds the field classifier to ignore.- Parameters:
paramClassifier- the param classifier- Returns:
- the plant UML class diagram config builder
-
addFieldClassifiersToIgnore
public PlantUMLClassDiagramConfigBuilder addFieldClassifiersToIgnore(List<ClassifierType> paramClassiferList) Adds the field classifiers to ignore.- Parameters:
paramClassiferList- the param classifer list- Returns:
- the plant UML class diagram config builder
-
addMethodClassifierToIgnore
public PlantUMLClassDiagramConfigBuilder addMethodClassifierToIgnore(ClassifierType paramClassifier) Adds the method classifier to ignore.- Parameters:
paramClassifier- the param classifier- Returns:
- the plant UML class diagram config builder
-
addMethodClassifiersToIgnore
public PlantUMLClassDiagramConfigBuilder addMethodClassifiersToIgnore(List<ClassifierType> paramClassiferList) Adds the method classifiers to ignore.- Parameters:
paramClassiferList- the param classifer list- Returns:
- the plant UML class diagram config builder
-
addAdditionalPlantUmlConfigs
public PlantUMLClassDiagramConfigBuilder addAdditionalPlantUmlConfigs(List<String> additionalPlantUmlConfigs) Adds the additional plant uml configs.- Parameters:
additionalPlantUmlConfigs- the additional plant uml configs- Returns:
- the plant UML class diagram config builder
-
build
Builds the.- Returns:
- PlantUMLConfig
-