Package com.blueriq.component.api.dcm
Class Dcm2Condition
java.lang.Object
com.blueriq.component.api.dcm.Dcm2Condition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class Dcm2Condition
extends Object
implements org.springframework.context.annotation.Condition
This condition can be used to check if this is a DCM 2.0 application running, which is the case for the runtime part
when the case-engine-client profile is enabled, or for the case engine itself (with the case-engine profile enabled)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Constructor Details
-
Dcm2Condition
public Dcm2Condition()
-
-
Method Details
-
matches
public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
matches
in interfaceorg.springframework.context.annotation.Condition
-