Interface DocumentationSource
- All Known Implementing Classes:
CodeReplacingDocumentationSource,SpringAutoRestDocsDocumentationSource,SpringModulithDocumentationSource
interface DocumentationSource
Interface to abstract different ways of looking up documentation for code abstractions.
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptiongetDocumentation(com.tngtech.archunit.core.domain.JavaClass type) Returns the documentation to be used for the givenJavaClass.getDocumentation(com.tngtech.archunit.core.domain.JavaMethod method) Returns the documentation to be used for the givenJavaMethod.
-
Method Details
-
getDocumentation
Returns the documentation to be used for the givenJavaMethod.- Parameters:
method- must not be null.- Returns:
- will never be null.
-
getDocumentation
Returns the documentation to be used for the givenJavaClass.- Parameters:
type- must not be null.- Returns:
- will never be null.
- Since:
- 1.3
-