Class NamedInterface.TypeBasedNamedInterface
java.lang.Object
org.springframework.modulith.core.NamedInterface
org.springframework.modulith.core.NamedInterface.TypeBasedNamedInterface
- All Implemented Interfaces:
Iterable<com.tngtech.archunit.core.domain.JavaClass>
- Enclosing class:
- NamedInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.modulith.core.NamedInterface
NamedInterface.TypeBasedNamedInterface -
Field Summary
Fields inherited from class org.springframework.modulith.core.NamedInterface
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns allClassesmaking up thisNamedInterface.Merges the currentNamedInterfacewith the givenNamedInterface.TypeBasedNamedInterface.toString()Methods inherited from class org.springframework.modulith.core.NamedInterface
contains, contains, getName, hasSameNameAs, isUnnamed, iterator, of, of, unnamedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TypeBasedNamedInterface
- Parameters:
name- must not be null or empty.types- must not be null.pkg- must not be null.
-
-
Method Details
-
getClasses
Description copied from class:NamedInterfaceReturns allClassesmaking up thisNamedInterface.- Specified by:
getClassesin classNamedInterface- Returns:
- will never be null.
-
merge
Description copied from class:NamedInterfaceMerges the currentNamedInterfacewith the givenNamedInterface.TypeBasedNamedInterface.- Specified by:
mergein classNamedInterface- Parameters:
other- must not be null.- Returns:
- will never be null.
-
toString
-