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
-
Method Summary
Modifier and TypeMethodDescriptionReturns allClasses
making up thisNamedInterface
.Merges the currentNamedInterface
with the givenNamedInterface.TypeBasedNamedInterface
.toString()
Methods inherited from class org.springframework.modulith.core.NamedInterface
contains, contains, getName, hasSameNameAs, isUnnamed, iterator, of, of, unnamed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:NamedInterface
Returns allClasses
making up thisNamedInterface
.- Specified by:
getClasses
in classNamedInterface
- Returns:
- will never be null.
-
merge
Description copied from class:NamedInterface
Merges the currentNamedInterface
with the givenNamedInterface.TypeBasedNamedInterface
.- Specified by:
merge
in classNamedInterface
- Parameters:
other
- must not be null.- Returns:
- will never be null.
-
toString
-