Class TemplateDeploymentBuilderImpl
java.lang.Object
com.flowable.template.engine.impl.repository.TemplateDeploymentBuilderImpl
- All Implemented Interfaces:
TemplateDeploymentBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TemplateDeploymentEntityprotected booleanprotected TemplateRepositoryServiceImplprotected TemplateResourceEntityManagerprotected TemplateResourceConverterprotected TemplateVariationResourceConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClasspathResource(String resource) addInputStream(String resourceName, InputStream inputStream) addTemplateModel(String resourceName, TemplateModel templateModel) addTemplateVariationModel(String resourceName, TemplateVariationModel templateVariationModel) addZipInputStream(ZipInputStream zipInputStream) Gives the deployment the given category.deploy()Deploys all provided sources to the CMMN engine.If set, this deployment will be compared to any previous deployment.booleanGives the deployment the given key.Gives the deployment the given name.parentDeploymentId(String parentDeploymentId) Gives the deployment the given parent deployment id.protected StringstripFoldersFromResourceName(String resourceName) Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
templateResourceConverter
-
templateVariationResourceConverter
-
deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
TemplateDeploymentBuilderImpl
public TemplateDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
- Specified by:
addInputStreamin interfaceTemplateDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfaceTemplateDeploymentBuilder
-
addString
- Specified by:
addStringin interfaceTemplateDeploymentBuilder
-
addBytes
- Specified by:
addBytesin interfaceTemplateDeploymentBuilder
-
addTemplateModel
- Specified by:
addTemplateModelin interfaceTemplateDeploymentBuilder
-
addTemplateVariationModel
public TemplateDeploymentBuilder addTemplateVariationModel(String resourceName, TemplateVariationModel templateVariationModel) - Specified by:
addTemplateVariationModelin interfaceTemplateDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStreamin interfaceTemplateDeploymentBuilder
-
stripFoldersFromResourceName
-
name
Description copied from interface:TemplateDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceTemplateDeploymentBuilder
-
category
Description copied from interface:TemplateDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceTemplateDeploymentBuilder
-
key
Description copied from interface:TemplateDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceTemplateDeploymentBuilder
-
parentDeploymentId
Description copied from interface:TemplateDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceTemplateDeploymentBuilder
-
tenantId
Description copied from interface:TemplateDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceTemplateDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:TemplateDeploymentBuilderIf 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 interfaceTemplateDeploymentBuilder
-
deploy
Description copied from interface:TemplateDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfaceTemplateDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-