Class CmmnDeploymentBuilderImpl
java.lang.Object
org.flowable.cmmn.engine.impl.repository.CmmnDeploymentBuilderImpl
- All Implemented Interfaces:
CmmnDeploymentBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CmmnDeploymentEntityprotected booleanprotected booleanprotected CmmnRepositoryServiceImplprotected CmmnResourceEntityManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClasspathResource(String resource) addCmmnBytes(String resourceName, byte[] cmmnBytes) addCmmnModel(String resourceName, CmmnModel cmmnModel) addInputStream(String resourceName, InputStream inputStream) addZipInputStream(ZipInputStream zipInputStream) Gives the deployment the given category.deploy()Deploys all provided sources to the CMMN engine.If called, no XML schema validation against the BPMN 2.0 XSD.If set, this deployment will be compared to any previous deployment.booleanbooleanGives the deployment the given key.Gives the deployment the given name.parentDeploymentId(String parentDeploymentId) Gives the deployment the given parent deployment id.Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isCmmn20XsdValidationEnabled
protected boolean isCmmn20XsdValidationEnabled -
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
CmmnDeploymentBuilderImpl
public CmmnDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
- Specified by:
addInputStreamin interfaceCmmnDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfaceCmmnDeploymentBuilder
-
addString
- Specified by:
addStringin interfaceCmmnDeploymentBuilder
-
addBytes
- Specified by:
addBytesin interfaceCmmnDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStreamin interfaceCmmnDeploymentBuilder
-
addCmmnBytes
-
addCmmnModel
-
name
Description copied from interface:CmmnDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceCmmnDeploymentBuilder
-
category
Description copied from interface:CmmnDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceCmmnDeploymentBuilder
-
key
Description copied from interface:CmmnDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceCmmnDeploymentBuilder
-
disableSchemaValidation
Description copied from interface:CmmnDeploymentBuilderIf called, no XML schema validation against the BPMN 2.0 XSD. Not recommended in general.- Specified by:
disableSchemaValidationin interfaceCmmnDeploymentBuilder
-
tenantId
Description copied from interface:CmmnDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceCmmnDeploymentBuilder
-
parentDeploymentId
Description copied from interface:CmmnDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceCmmnDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:CmmnDeploymentBuilderIf set, this deployment will be compared to any previous deployment. This means that every (non-generated) resource will be compared with the provided resources of this deployment.- Specified by:
enableDuplicateFilteringin interfaceCmmnDeploymentBuilder
-
deploy
Description copied from interface:CmmnDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfaceCmmnDeploymentBuilder
-
getDeployment
-
isCmmnXsdValidationEnabled
public boolean isCmmnXsdValidationEnabled() -
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-