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.Boolean
bulkInsertEnabled
Allows to set the bulk insert configuration specifically for the cmmn engineprotected java.lang.String
deploymentName
The name of the deployment for the CMMN resources.protected boolean
deployResources
Whether to perform deployment of resources, default istrue
.protected boolean
enabled
Whether the CMMN engine needs to be started.protected boolean
enableSafeXml
Enables extra checks on the CMMN xml that is parsed.protected java.lang.String
resourceLocation
The location where the CMMN resources are located.protected java.util.List<java.lang.String>
resourceSuffixes
The suffixes for the resources that need to be scanned. -
Constructor Summary
Constructors Constructor Description FlowableCmmnProperties()
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
getBulkInsertEnabled()
java.lang.String
getDeploymentName()
java.lang.String
getResourceLocation()
java.util.List<java.lang.String>
getResourceSuffixes()
FlowableServlet
getServlet()
boolean
isDeployResources()
boolean
isEnabled()
boolean
isEnableSafeXml()
void
setBulkInsertEnabled(java.lang.Boolean bulkInsertEnabled)
void
setDeploymentName(java.lang.String deploymentName)
void
setDeployResources(boolean deployResources)
void
setEnabled(boolean enabled)
void
setEnableSafeXml(boolean enableSafeXml)
void
setResourceLocation(java.lang.String resourceLocation)
void
setResourceSuffixes(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)
-