Package com.hazelcast.test.archunit
Class ConfigClassesExposingInternalImplementationCondition
java.lang.Object
com.tngtech.archunit.lang.ArchCondition<com.tngtech.archunit.core.domain.JavaClass>
com.hazelcast.test.archunit.ConfigClassesExposingInternalImplementationCondition
public class ConfigClassesExposingInternalImplementationCondition
extends com.tngtech.archunit.lang.ArchCondition<com.tngtech.archunit.core.domain.JavaClass>
Asserts that config classes don't expose internal classes (i.e. those in an "impl" package)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tngtech.archunit.lang.ArchCondition
com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate<T extends com.tngtech.archunit.base.HasDescription & com.tngtech.archunit.core.domain.properties.HasSourceCodeLocation>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(com.tngtech.archunit.core.domain.JavaClass configClass, com.tngtech.archunit.lang.ConditionEvents events) Methods inherited from class com.tngtech.archunit.lang.ArchCondition
and, as, finish, forSubtype, from, getDescription, init, or, toString
-
Constructor Details
-
ConfigClassesExposingInternalImplementationCondition
public ConfigClassesExposingInternalImplementationCondition()
-
-
Method Details
-
check
public void check(com.tngtech.archunit.core.domain.JavaClass configClass, com.tngtech.archunit.lang.ConditionEvents events) - Specified by:
check
in classcom.tngtech.archunit.lang.ArchCondition<com.tngtech.archunit.core.domain.JavaClass>
-