Uses of Enum Class
org.springframework.modulith.core.DependencyType
Package
Description
Core, internal abstractions of Spring Modulith.
Documentation support for Spring Modulith.
-
Uses of DependencyType in org.springframework.modulith.core
Modifier and TypeMethodDescription(package private) DependencyType
DependencyType.defaultOr
(com.tngtech.archunit.thirdparty.com.google.common.base.Supplier<DependencyType> supplier) Returns the currentDependencyType
or obtains the one provided by the given supplier if the current one isDEFAULT
.(package private) static DependencyType
DependencyType.forCodeUnit
(com.tngtech.archunit.core.domain.JavaCodeUnit codeUnit) (package private) static DependencyType
DependencyType.forDependency
(com.tngtech.archunit.core.domain.Dependency dependency) (package private) static DependencyType
DependencyType.forParameter
(com.tngtech.archunit.core.domain.JavaClass type) ApplicationModuleDependency.getDependencyType()
The type of the dependency.static DependencyType
Returns the enum constant of this class with the specified name.static DependencyType[]
DependencyType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Stream<DependencyType>
DependencyType.allBut
(Collection<DependencyType> types) Returns allDependencyType
s except the given ones.static Stream<DependencyType>
DependencyType.allBut
(Stream<DependencyType> types) static Stream<DependencyType>
DependencyType.allBut
(DependencyType... types) Returns allDependencyType
s except the given ones.Modifier and TypeMethodDescriptionstatic Stream<DependencyType>
DependencyType.allBut
(DependencyType... types) Returns allDependencyType
s except the given ones.ApplicationModule.getDependencies
(ApplicationModules modules, DependencyType... type) ReturnsApplicationModule.DeclaredDependencies
of the currentApplicationModule
.(package private) boolean
ApplicationModule.QualifiedDependency.hasType
(DependencyType type) Returns whether theApplicationModule.QualifiedDependency
has the givenDependencyType
.ApplicationModuleDependencies.withType
(DependencyType type) Modifier and TypeMethodDescriptionstatic Stream<DependencyType>
DependencyType.allBut
(Collection<DependencyType> types) Returns allDependencyType
s except the given ones.static Stream<DependencyType>
DependencyType.allBut
(Stream<DependencyType> types) (package private) DependencyType
DependencyType.defaultOr
(com.tngtech.archunit.thirdparty.com.google.common.base.Supplier<DependencyType> supplier) Returns the currentDependencyType
or obtains the one provided by the given supplier if the current one isDEFAULT
.ModifierConstructorDescriptionQualifiedDependency
(com.tngtech.archunit.core.domain.JavaClass source, com.tngtech.archunit.core.domain.JavaClass target, String description, DependencyType type) Creates a newApplicationModule.QualifiedDependency
from the given source and targetJavaClass
, description andDependencyType
. -
Uses of DependencyType in org.springframework.modulith.docs
Modifier and TypeMethodDescriptionDocumenter.DiagramOptions.withDependencyTypes
(DependencyType... types) Select the dependency types that are supposed to be included in the diagram to be created.ModifierConstructorDescription(package private)
DiagramOptions
(Set<DependencyType> dependencyTypes, DependencyDepth dependencyDepth, Predicate<ApplicationModule> exclusions, Predicate<com.structurizr.model.Component> componentFilter, Predicate<ApplicationModule> targetOnly, String targetFileName, Function<ApplicationModule, Optional<String>> colorSelector, Function<ApplicationModule, String> defaultDisplayName, Documenter.DiagramOptions.DiagramStyle style, Documenter.DiagramOptions.ElementsWithoutRelationships elementsWithoutRelationships)