Class DocumentDeploymentBuilderImpl
java.lang.Object
com.flowable.content.engine.impl.repository.DocumentDeploymentBuilderImpl
- All Implemented Interfaces:
DocumentDeploymentBuilder
public class DocumentDeploymentBuilderImpl extends java.lang.Object implements DocumentDeploymentBuilder
-
Field Summary
Fields Modifier and Type Field Description protected DocumentDeploymentEntitydeploymentprotected booleanisDuplicateFilterEnabledprotected DocumentRepositoryServiceImplrepositoryServiceprotected DocumentResourceEntityManagerresourceEntityManager -
Constructor Summary
Constructors Constructor Description DocumentDeploymentBuilderImpl() -
Method Summary
Modifier and Type Method Description DocumentDeploymentBuilderaddBytes(java.lang.String resourceName, byte[] bytes)DocumentDeploymentBuilderaddClasspathResource(java.lang.String resource)DocumentDeploymentBuilderaddInputStream(java.lang.String resourceName, java.io.InputStream inputStream)DocumentDeploymentBuilderaddString(java.lang.String resourceName, java.lang.String text)DocumentDeploymentBuilderaddZipInputStream(java.util.zip.ZipInputStream zipInputStream)DocumentDeploymentBuildercategory(java.lang.String category)Gives the deployment the given category.DocumentDeploymentdeploy()Deploys all provided sources to the CMMN engine.DocumentDeploymentBuilderenableDuplicateFiltering()If set, this deployment will be compared to any previous deployment.DocumentDeploymentgetDeployment()booleanisDuplicateFilterEnabled()DocumentDeploymentBuilderkey(java.lang.String key)Gives the deployment the given key.DocumentDeploymentBuildername(java.lang.String name)Gives the deployment the given name.DocumentDeploymentBuilderparentDeploymentId(java.lang.String parentDeploymentId)Gives the deployment the given parent deployment id.protected java.lang.StringstripFoldersFromResourceName(java.lang.String resourceName)DocumentDeploymentBuildertenantId(java.lang.String tenantId)Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
DocumentDeploymentBuilderImpl
public DocumentDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
public DocumentDeploymentBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)- Specified by:
addInputStreamin interfaceDocumentDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfaceDocumentDeploymentBuilder
-
addString
- Specified by:
addStringin interfaceDocumentDeploymentBuilder
-
addBytes
- Specified by:
addBytesin interfaceDocumentDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStreamin interfaceDocumentDeploymentBuilder
-
stripFoldersFromResourceName
protected java.lang.String stripFoldersFromResourceName(java.lang.String resourceName) -
name
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceDocumentDeploymentBuilder
-
category
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceDocumentDeploymentBuilder
-
key
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceDocumentDeploymentBuilder
-
parentDeploymentId
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceDocumentDeploymentBuilder
-
tenantId
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceDocumentDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:DocumentDeploymentBuilderIf 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 interfaceDocumentDeploymentBuilder
-
deploy
Description copied from interface:DocumentDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfaceDocumentDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-