Class ImportOptions.ExcludeShadedImportOption
java.lang.Object
org.apache.flink.architecture.common.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanincludes(com.tngtech.archunit.core.importer.Location location)
-
Constructor Details
-
ExcludeShadedImportOption
public ExcludeShadedImportOption()
-
-
Method Details
-
includes
public boolean includes(com.tngtech.archunit.core.importer.Location location) - Specified by:
includesin interfacecom.tngtech.archunit.core.importer.ImportOption
-