B H I J N R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BE_ACCESSED_BY_TRANSACTIONAL_CLASSES_OR_METHODS - Static variable in class io.github.cpetot.archunit.SpringCodingRules
-
A condition that checks if the methods of Java class are only called by methods annotated by
Transactional
, directly on the method or at the class level. - beAccessedOnlyByClassesMetaAnnotatedBy(Class<? extends Annotation>) - Static method in class io.github.cpetot.archunit.StandardCodingRules
-
A condition that checks if the Java class is only accessed by classes meta annotated by a given annotation.
- beAccessedOnlyByClassesMetaAnnotatedByAny(Class<? extends Annotation>...) - Static method in class io.github.cpetot.archunit.StandardCodingRules
-
Similar to
StandardCodingRules.beAccessedOnlyByClassesMetaAnnotatedBy(Class)
, but target any of the given annotations.
H
- HAS_A_PUBLIC_EMPTY_CONSTRUCTOR - Static variable in class io.github.cpetot.archunit.StandardCodingRules
-
A condition that checks if the Java class has a public no-args constructor Matching examples :
I
- io.github.cpetot.archunit - package io.github.cpetot.archunit
J
- JPA_ENTITIES_HAVE_PUBLIC_EMPTY_CONSTRUCTOR - Static variable in class io.github.cpetot.archunit.JpaCodingRules
-
A rule that checks that all of the given classes annotated by
Entity
have a public no-args constructor - JpaCodingRules - Class in io.github.cpetot.archunit
-
JpaCodingRules provides a set of general
ArchRules
for coding that might be useful in the projects using JPA.
N
- NO_CLASSES_SHOULD_USE_JAVA_UTIL_DATE - Static variable in class io.github.cpetot.archunit.StandardCodingRules
-
A rule that checks that all the given classes do not use
Date
- NO_CLASSES_SHOULD_USE_JUNIT_4 - Static variable in class io.github.cpetot.archunit.StandardCodingRules
-
A rule that checks that the given class does not use JUnit 4.
R
- REPOSITORIES_ARE_ACCESSED_ONLY_BY_SERVICE_CLASSES - Static variable in class io.github.cpetot.archunit.SpringCodingRules
-
A rule that checks that all classes annotated by
Repository
are only accessed by classes annotated byService
. - REPOSITORIES_ARE_ACCESSED_ONLY_BY_SERVICE_OR_CONTROLLER_CLASSES - Static variable in class io.github.cpetot.archunit.SpringCodingRules
-
A rule that checks that all classes annotated by
Repository
are only accessed by classes annotated byService
or byController
Depending on your architecture, you may want to enforce this rule. - REPOSITORIES_ARE_ACCESSED_ONLY_BY_TRANSACTIONAL_METHODS_OR_CLASSES - Static variable in class io.github.cpetot.archunit.SpringCodingRules
-
A rule that checks that all methods in a Spring
Repository
are only called by methods annotated byTransactional
, directly on the method or at the class level.
S
- SpringCodingRules - Class in io.github.cpetot.archunit
-
SpringCodingRules provides a set of general
ArchConditions
andArchRules
for coding that might be useful in the projects using Spring. - StandardCodingRules - Class in io.github.cpetot.archunit
-
StandardCodingRules provides a set of general
ArchConditions
andArchRules
for coding that might be useful in various projects but are not present inGeneralCodingRules
.
U
- USE_JAVA_UTIL_DATE - Static variable in class io.github.cpetot.archunit.StandardCodingRules
-
A condition that checks if the given class use
Date
- USE_JUNIT_4 - Static variable in class io.github.cpetot.archunit.StandardCodingRules
-
A condition that checks that the given class use JUnit 4.
All Classes All Packages