Package com.flowable.spring.boot.cmmn
Class FlowableCmmnProperties
java.lang.Object
com.flowable.spring.boot.cmmn.FlowableCmmnProperties
@ConfigurationProperties(prefix="flowable.cmmn")
public class FlowableCmmnProperties
extends java.lang.Object
Properties for configuring the CMMN engine.
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanbulkInsertEnabledAllows to set the bulk insert configuration specifically for the cmmn engineprotected java.lang.StringdeploymentNameThe name of the deployment for the CMMN resources.protected booleandeployResourcesWhether to perform deployment of resources, default istrue.protected booleanenabledWhether the CMMN engine needs to be started.protected booleanenableSafeXmlEnables extra checks on the CMMN xml that is parsed.protected java.lang.StringresourceLocationThe location where the CMMN resources are located.protected java.util.List<java.lang.String>resourceSuffixesThe suffixes for the resources that need to be scanned. -
Constructor Summary
Constructors Constructor Description FlowableCmmnProperties() -
Method Summary
Modifier and Type Method Description java.lang.BooleangetBulkInsertEnabled()java.lang.StringgetDeploymentName()java.lang.StringgetResourceLocation()java.util.List<java.lang.String>getResourceSuffixes()FlowableServletgetServlet()booleanisDeployResources()booleanisEnabled()booleanisEnableSafeXml()voidsetBulkInsertEnabled(java.lang.Boolean bulkInsertEnabled)voidsetDeploymentName(java.lang.String deploymentName)voidsetDeployResources(boolean deployResources)voidsetEnabled(boolean enabled)voidsetEnableSafeXml(boolean enableSafeXml)voidsetResourceLocation(java.lang.String resourceLocation)voidsetResourceSuffixes(java.util.List<java.lang.String> resourceSuffixes)
-
Field Details
-
deploymentName
protected java.lang.String deploymentNameThe name of the deployment for the CMMN resources. -
resourceLocation
protected java.lang.String resourceLocationThe location where the CMMN resources are located. Default isclasspath*:/cases/ -
resourceSuffixes
protected java.util.List<java.lang.String> resourceSuffixesThe suffixes for the resources that need to be scanned. Default is**.cmmn, **.cmmn11, **.cmmn.xml, **.cmmn11.xml -
deployResources
protected boolean deployResourcesWhether to perform deployment of resources, default istrue. -
enabled
protected boolean enabledWhether the CMMN engine needs to be started. -
enableSafeXml
protected boolean enableSafeXmlEnables extra checks on the CMMN xml that is parsed. See https://www.flowable.org/docs/userguide/index.html#advanced.safe.bpmn.xml Unfortunately, this feature is not available on some platforms (JDK 6, JBoss), hence you need to disable if your platform does not allow the use of StaxSource during XML parsing. -
bulkInsertEnabled
protected java.lang.Boolean bulkInsertEnabledAllows to set the bulk insert configuration specifically for the cmmn engine
-
-
Constructor Details
-
FlowableCmmnProperties
public FlowableCmmnProperties()
-
-
Method Details
-
getDeploymentName
public java.lang.String getDeploymentName() -
setDeploymentName
public void setDeploymentName(java.lang.String deploymentName) -
getResourceLocation
public java.lang.String getResourceLocation() -
setResourceLocation
public void setResourceLocation(java.lang.String resourceLocation) -
getResourceSuffixes
public java.util.List<java.lang.String> getResourceSuffixes() -
setResourceSuffixes
public void setResourceSuffixes(java.util.List<java.lang.String> resourceSuffixes) -
isDeployResources
public boolean isDeployResources() -
setDeployResources
public void setDeployResources(boolean deployResources) -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isEnableSafeXml
public boolean isEnableSafeXml() -
setEnableSafeXml
public void setEnableSafeXml(boolean enableSafeXml) -
getServlet
-
getBulkInsertEnabled
public java.lang.Boolean getBulkInsertEnabled() -
setBulkInsertEnabled
public void setBulkInsertEnabled(java.lang.Boolean bulkInsertEnabled)
-