Annotation Type ConditionalOnProcessEngine


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

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

Author:
Filip Hrisafov