Class ImportOptions.ExcludeShadedImportOption

  • All Implemented Interfaces:
    com.tngtech.archunit.core.importer.ImportOption
    Enclosing class:
    ImportOptions

    public static final class ImportOptions.ExcludeShadedImportOption
    extends Object
    implements com.tngtech.archunit.core.importer.ImportOption
    Exclude locations that look shaded.

    This is not only important to exclude external code shaded into a package like org.apache.flink.shaded.* from being tested, but crucial for memory consumption.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.tngtech.archunit.core.importer.ImportOption

        com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeArchives, com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeGradleTestFixtures, com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeJars, com.tngtech.archunit.core.importer.ImportOption.DoNotIncludePackageInfos, com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests, com.tngtech.archunit.core.importer.ImportOption.OnlyIncludeTests, com.tngtech.archunit.core.importer.ImportOption.Predefined
    • Constructor Detail

      • ExcludeShadedImportOption

        public ExcludeShadedImportOption()
    • Method Detail

      • includes

        public boolean includes​(com.tngtech.archunit.core.importer.Location location)
        Specified by:
        includes in interface com.tngtech.archunit.core.importer.ImportOption