Class TemplateDeploymentBuilderImpl
java.lang.Object
com.flowable.template.engine.impl.repository.TemplateDeploymentBuilderImpl
- All Implemented Interfaces:
TemplateDeploymentBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected TemplateDeploymentEntity
protected boolean
protected TemplateRepositoryServiceImpl
protected TemplateResourceEntityManager
protected TemplateResourceConverter
protected TemplateVariationResourceConverter
-
Constructor Summary
-
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.boolean
Gives the deployment the given key.Gives the deployment the given name.parentDeploymentId
(String parentDeploymentId) Gives the deployment the given parent deployment id.protected String
stripFoldersFromResourceName
(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:
addInputStream
in interfaceTemplateDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceTemplateDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceTemplateDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfaceTemplateDeploymentBuilder
-
addTemplateModel
- Specified by:
addTemplateModel
in interfaceTemplateDeploymentBuilder
-
addTemplateVariationModel
public TemplateDeploymentBuilder addTemplateVariationModel(String resourceName, TemplateVariationModel templateVariationModel) - Specified by:
addTemplateVariationModel
in interfaceTemplateDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfaceTemplateDeploymentBuilder
-
stripFoldersFromResourceName
-
name
Description copied from interface:TemplateDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceTemplateDeploymentBuilder
-
category
Description copied from interface:TemplateDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceTemplateDeploymentBuilder
-
key
Description copied from interface:TemplateDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceTemplateDeploymentBuilder
-
parentDeploymentId
Description copied from interface:TemplateDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceTemplateDeploymentBuilder
-
tenantId
Description copied from interface:TemplateDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceTemplateDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:TemplateDeploymentBuilder
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 interfaceTemplateDeploymentBuilder
-
deploy
Description copied from interface:TemplateDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfaceTemplateDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-