Uses of Class
org.springframework.modulith.docs.Documenter.DiagramOptions
Packages that use Documenter.DiagramOptions
-
Uses of Documenter.DiagramOptions in org.springframework.modulith.docs
Methods in org.springframework.modulith.docs that return Documenter.DiagramOptionsModifier and TypeMethodDescriptionstatic Documenter.DiagramOptionsDocumenter.DiagramOptions.defaults()Creates a new defaultDocumenter.DiagramOptionsinstance configured to use all dependency types, list immediate dependencies for individual module instances, not applying any kind ofApplicationModuleorComponentfilters and default file names.Documenter.DiagramOptions.withColorSelector(Function<org.springframework.modulith.core.ApplicationModule, Optional<String>> colorSelector) A callback to return a hex-encoded color perApplicationModule.Documenter.DiagramOptions.withComponentFilter(Predicate<com.structurizr.model.Component> componentFilter) APredicateto define which StructurizrComponents to be included in the diagram to be created.Documenter.DiagramOptions.withDefaultDisplayName(Function<org.springframework.modulith.core.ApplicationModule, String> defaultDisplayName) A callback to return a default display names for a givenApplicationModule.Documenter.DiagramOptions.withDependencyDepth(org.springframework.modulith.core.DependencyDepth dependencyDepth) TheDependencyDepthto define which other modules to be included in the diagram to be created.Documenter.DiagramOptions.withDependencyTypes(org.springframework.modulith.core.DependencyType... types) Select the dependency types that are supposed to be included in the diagram to be created.Documenter.DiagramOptions.withElementsWithoutRelationships(Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships) Configuration setting to define whether modules that do not have a relationship to any other module shall be retained in the diagrams created.Documenter.DiagramOptions.withExclusions(Predicate<org.springframework.modulith.core.ApplicationModule> exclusions) APredicateto define the which modules to exclude from the diagram to be created.Documenter.DiagramOptions.withStyle(Documenter.DiagramOptions.DiagramStyle style) Which style to render the diagram in.Documenter.DiagramOptions.withTargetFileName(String targetFileName) The target file name to be used for the diagram to be created.Documenter.DiagramOptions.withTargetOnly(Predicate<org.springframework.modulith.core.ApplicationModule> targetOnly) APredicateto define which of the modules shall only be considered targets, i.e. all efferent relationships are going to be hidden from the rendered view.Methods in org.springframework.modulith.docs with parameters of type Documenter.DiagramOptionsModifier and TypeMethodDescriptionDocumenter.writeAggregatingDocument(Documenter.DiagramOptions diagramOptions, Documenter.CanvasOptions canvasOptions) Writes aggregating document calledall-docs.adocthat includes any existing component diagrams and canvases.Documenter.writeDocumentation(Documenter.DiagramOptions diagramOptions, Documenter.CanvasOptions canvasOptions) Writes all available documentation: The entire set of modules as overview component diagram. Individual component diagrams per module to include all upstream modules. The Module Canvas for each module.Documenter.writeIndividualModulesAsPlantUml(Documenter.DiagramOptions options) Writes the component diagrams for all individual modules.Documenter.writeModuleAsPlantUml(org.springframework.modulith.core.ApplicationModule module, Documenter.DiagramOptions options) Writes the PlantUML component diagram for the givenApplicationModulewith the given renderingDocumenter.DiagramOptions.Documenter.writeModulesAsPlantUml(Documenter.DiagramOptions diagramOptions) Writes the PlantUML component diagram for allApplicationModuleswith the givenDocumenter.DiagramOptions.