| Interface | Description |
|---|---|
| ComponentFinderStrategy |
The interface that all component finder strategies must implement.
|
| DuplicateComponentStrategy |
Defines a strategy that should be called when a duplicate component is found.
|
| TypeMatcher |
Determines whether a given type implements the rules for being identified as a component.
|
| TypeRepository |
This represents an abstraction for a repository of type information.
|
| Class | Description |
|---|---|
| AbstractComponentFinderStrategy |
This is the superclass for a number of component finder strategies.
|
| AbstractTypeMatcher |
A superclass used for TypeMatcher implementations.
|
| AnnotatedMethodComponentFinderStrategy |
A generic component finder strategy that finds components based on returned types of specifically annotated methods.
|
| AnnotationTypeMatcher |
Matches types based upon the presence of a type-level annotation.
|
| ComponentFinder |
This class allows you to find components in a Java codebase, when used in conjunction
with a number of pluggable component finder strategies.
|
| DefaultTypeRepository |
This is an implementation of a TypeRepository that uses a combination of:
- The Reflections library (https://github.com/ronmamo/reflections).
|
| ExtendsClassTypeMatcher |
Matches types where the type extends the specified class.
|
| FirstImplementationOfInterfaceSupportingTypesStrategy |
If the component type is an interface, this strategy finds the first implementation of that interface.
|
| IgnoreDuplicateComponentStrategy | |
| ImplementsInterfaceTypeMatcher |
Matches types where the type implements the specified interface.
|
| NameSuffixTypeMatcher |
Matches types where the name of the type ends with the specified suffix.
|
| ReferencedTypesInSamePackageSupportingTypesStrategy |
This strategy finds all referenced types in the same package as the component type,
and is useful if each component resides in its own Java package.
|
| ReferencedTypesSupportingTypesStrategy |
This strategy finds all types that are referenced by the component type
and supporting types.
|
| RegexTypeMatcher |
Matches types using a regex against the fully qualified type name.
|
| SourceCodeComponentFinderStrategy |
This component finder strategy doesn't really find components, it instead:
Extracts the top-level Javadoc comment from the code so that this can be added to existing component definitions.
Calculates the size of components based upon the number of lines of source code.
|
| StructurizrAnnotationsComponentFinderStrategy |
This component finder strategy looks for the following Structurizr annotations.
|
| SupportingTypesStrategy |
Superclass for strategies used to find the types that support a component.
|
| ThrowExceptionDuplicateComponentStrategy |
Throws an exception when a duplicate component is found.
|
| TypeCategory | |
| TypeMatcherComponentFinderStrategy |
A component finder strategy that uses type information to find components, based upon a number
of pluggable
TypeMatcher implementations. |
| TypeUtils |
Some utility methods for working with types.
|
| TypeVisibility |
| Exception | Description |
|---|---|
| DuplicateComponentException |