Class ImportOption.DontIncludeTests
- java.lang.Object
-
- com.tngtech.archunit.core.importer.ImportOption.DontIncludeTests
-
- All Implemented Interfaces:
ImportOption
- Enclosing interface:
- ImportOption
public static final class ImportOption.DontIncludeTests extends java.lang.Object implements ImportOption
NOTE: This excludes all class files residing in some directory ../target/test-classes/.., ../build/classes/test/.. or ../build/classes/someLang/test/.. (Maven/Gradle standard). Thus it is just a best guess, how tests can be identified, in other environments, it might be necessary, to implement the correctImportOption
yourself.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.importer.ImportOption
ImportOption.DontIncludeArchives, ImportOption.DontIncludeJars, ImportOption.DontIncludeTests, ImportOption.Predefined
-
-
Constructor Summary
Constructors Constructor Description DontIncludeTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includes(Location location)
-
-
-
Method Detail
-
includes
public boolean includes(Location location)
- Specified by:
includes
in interfaceImportOption
-
-