Annotation Type ConditionalOnCmmnEngine


@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Documented
@ConditionalOnClass(name={"org.flowable.cmmn.engine.CmmnEngine","org.flowable.cmmn.spring.SpringCmmnEngineConfiguration"})
@ConditionalOnProperty(prefix="flowable.cmmn",
                       name="enabled",
                       havingValue="true",
                       matchIfMissing=true)
public @interface ConditionalOnCmmnEngine
A meta Conditional annotation that checks if the CMMN engine should / can be activated.

By default the cmmn engine is activated when the CmmnEngine and SpringCmmnEngineConfiguration are present. Additionally the property flowable.cmmn.enabled is checked, if it is true or missing the cmmn engine would be enabled.

Author:
Filip Hrisafov