Class CmmnDeploymentBuilderImpl
java.lang.Object
org.flowable.cmmn.engine.impl.repository.CmmnDeploymentBuilderImpl
- All Implemented Interfaces:
CmmnDeploymentBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CmmnDeploymentEntity
protected boolean
protected boolean
protected CmmnRepositoryServiceImpl
protected 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.boolean
boolean
Gives 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:
addInputStream
in interfaceCmmnDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceCmmnDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceCmmnDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfaceCmmnDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfaceCmmnDeploymentBuilder
-
addCmmnBytes
-
addCmmnModel
-
name
Description copied from interface:CmmnDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceCmmnDeploymentBuilder
-
category
Description copied from interface:CmmnDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceCmmnDeploymentBuilder
-
key
Description copied from interface:CmmnDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceCmmnDeploymentBuilder
-
disableSchemaValidation
Description copied from interface:CmmnDeploymentBuilder
If called, no XML schema validation against the BPMN 2.0 XSD. Not recommended in general.- Specified by:
disableSchemaValidation
in interfaceCmmnDeploymentBuilder
-
tenantId
Description copied from interface:CmmnDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceCmmnDeploymentBuilder
-
parentDeploymentId
Description copied from interface:CmmnDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceCmmnDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:CmmnDeploymentBuilder
If 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:
enableDuplicateFiltering
in interfaceCmmnDeploymentBuilder
-
deploy
Description copied from interface:CmmnDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfaceCmmnDeploymentBuilder
-
getDeployment
-
isCmmnXsdValidationEnabled
public boolean isCmmnXsdValidationEnabled() -
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-