Interface ObservedModule
- All Known Implementing Classes:
DefaultObservedModule
interface ObservedModule
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexposes(com.tngtech.archunit.core.domain.JavaClass type) Returns whether theObservedModuleexposes the givenJavaClass.getInvokedMethod(MethodInvocation invocation) Returns the name of the actually invokedMethod.getName()getObservedModuleType(Class<?> type, ApplicationModules modules) Returns theObservedModuleTypefor the given type andApplicationModules.booleanisObservedModule(ApplicationModule module)
-
Method Details
-
getName
String getName() -
getDisplayName
String getDisplayName() -
getInvokedMethod
Returns the name of the actually invokedMethod.- Parameters:
invocation- must not be null.- Returns:
-
exposes
boolean exposes(com.tngtech.archunit.core.domain.JavaClass type) Returns whether theObservedModuleexposes the givenJavaClass.- Parameters:
type-- Returns:
-
isObservedModule
-
getObservedModuleType
Returns theObservedModuleTypefor the given type andApplicationModules.- Parameters:
type- must not be null.modules- must not be null.- Returns:
- the
ObservedModuleTypefor the given type or null if the type is not to be observed.
-