All Known Implementing Classes:
DefaultObservedModule

interface ObservedModule
Author:
Oliver Drotbohm
  • Method Details

    • getName

      String getName()
    • getDisplayName

      String getDisplayName()
    • getInvokedMethod

      String getInvokedMethod(MethodInvocation invocation)
      Returns the name of the actually invoked Method.
      Parameters:
      invocation - must not be null.
      Returns:
    • exposes

      boolean exposes(com.tngtech.archunit.core.domain.JavaClass type)
      Returns whether the ObservedModule exposes the given JavaClass.
      Parameters:
      type -
      Returns:
    • isObservedModule

      boolean isObservedModule(org.springframework.modulith.core.ApplicationModule module)
    • getObservedModuleType

      @Nullable ObservedModuleType getObservedModuleType(Class<?> type, org.springframework.modulith.core.ApplicationModules modules)
      Returns the ObservedModuleType for the given type and ApplicationModules.
      Parameters:
      type - must not be null.
      modules - must not be null.
      Returns:
      the ObservedModuleType for the given type or null if the type is not to be observed.