Uses of Class
org.springframework.modulith.core.NamedInterface
Packages that use NamedInterface
Package
Description
Core, internal abstractions of Spring Modulith.
-
Uses of NamedInterface in org.springframework.modulith.core
Methods in org.springframework.modulith.core that return NamedInterfaceModifier and TypeMethodDescriptionNamedInterfaces.getUnnamedInterface()Returns the unnamedNamedInterfaceof the module.(package private) NamedInterfaceNamedInterface.merge(NamedInterface other) Merges the currentNamedInterfacewith the givenNamedInterface.static NamedInterfacestatic NamedInterfaceNamedInterface.open(JavaPackage javaPackage) Returns an unnamed interface for the given package applying open module semantics, i.e. including all sub-packages of the given one.static NamedInterfaceNamedInterface.unnamed(JavaPackage javaPackage) Returns the unnamed interface for the given package, excluding any sub-packages by convention.Methods in org.springframework.modulith.core that return types with arguments of type NamedInterfaceModifier and TypeMethodDescriptionReturns theNamedInterfacewith the given name if present.NamedInterfaces.getNamedInterfacesContaining(com.tngtech.archunit.core.domain.JavaClass type) Returns all named interfaces that contain the given type.(package private) Stream<NamedInterface>NamedInterfaces.getNamedInterfacesContaining(Class<?> type) NamedInterfaces.iterator()static List<NamedInterface>NamedInterface.of(JavaPackage javaPackage) Returns allNamedInterfaces for the givenJavaPackage.NamedInterfaces.stream()Create aStreamofNamedInterfaces.Methods in org.springframework.modulith.core with parameters of type NamedInterfaceModifier and TypeMethodDescription(package private) booleanNamedInterface.hasSameNameAs(NamedInterface other) Returns whether the givenNamedInterfacehas the same name as the current one.(package private) NamedInterfaceNamedInterface.merge(NamedInterface other) Merges the currentNamedInterfacewith the givenNamedInterface.Method parameters in org.springframework.modulith.core with type arguments of type NamedInterfaceModifier and TypeMethodDescriptionNamedInterfaces.and(Iterable<NamedInterface> others) Creates a newNamedInterfacesinstance with the givenNamedInterfaces added.(package private) static NamedInterfacesNamedInterfaces.of(List<NamedInterface> interfaces) Creates a newNamedInterfacesfor the givenNamedInterfaces.