Class Types.JMoleculesTypes
java.lang.Object
org.springframework.modulith.core.Types.JMoleculesTypes
- Enclosing class:
- Types
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static Class<? extends Annotation>
static boolean
Returns whether the jMoleculesModule
type is present.static boolean
Returns whether jMolecules is generally present.
-
Field Details
-
AT_DOMAIN_EVENT_HANDLER
- See Also:
-
AT_DOMAIN_EVENT
- See Also:
-
DOMAIN_EVENT
- See Also:
-
-
Constructor Details
-
JMoleculesTypes
JMoleculesTypes()
-
-
Method Details
-
isPresent
public static boolean isPresent()Returns whether jMolecules is generally present.- See Also:
-
isModulePresent
public static boolean isModulePresent()Returns whether the jMoleculesModule
type is present. We need to guard for this explicitly as the Kotlin variant of jMolecules DDD does not ship that type. -
getModuleAnnotationTypeIfPresent
-
areRulesPresent
public static boolean areRulesPresent()
-