Class DocumentDeploymentBuilderImpl
- java.lang.Object
-
- com.flowable.content.engine.impl.repository.DocumentDeploymentBuilderImpl
-
- All Implemented Interfaces:
DocumentDeploymentBuilder
public class DocumentDeploymentBuilderImpl extends Object implements DocumentDeploymentBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentDeploymentEntitydeploymentprotected booleanisDuplicateFilterEnabledprotected DocumentRepositoryServiceImplrepositoryServiceprotected DocumentResourceEntityManagerresourceEntityManager
-
Constructor Summary
Constructors Constructor Description DocumentDeploymentBuilderImpl()
-
Method Summary
-
-
-
Field Detail
-
repositoryService
protected DocumentRepositoryServiceImpl repositoryService
-
resourceEntityManager
protected DocumentResourceEntityManager resourceEntityManager
-
deployment
protected DocumentDeploymentEntity deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Method Detail
-
addInputStream
public DocumentDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
- Specified by:
addInputStreamin interfaceDocumentDeploymentBuilder
-
addClasspathResource
public DocumentDeploymentBuilder addClasspathResource(String resource)
- Specified by:
addClasspathResourcein interfaceDocumentDeploymentBuilder
-
addString
public DocumentDeploymentBuilder addString(String resourceName, String text)
- Specified by:
addStringin interfaceDocumentDeploymentBuilder
-
addBytes
public DocumentDeploymentBuilder addBytes(String resourceName, byte[] bytes)
- Specified by:
addBytesin interfaceDocumentDeploymentBuilder
-
addZipInputStream
public DocumentDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
- Specified by:
addZipInputStreamin interfaceDocumentDeploymentBuilder
-
name
public DocumentDeploymentBuilder name(String name)
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceDocumentDeploymentBuilder
-
category
public DocumentDeploymentBuilder category(String category)
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceDocumentDeploymentBuilder
-
key
public DocumentDeploymentBuilder key(String key)
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceDocumentDeploymentBuilder
-
parentDeploymentId
public DocumentDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceDocumentDeploymentBuilder
-
tenantId
public DocumentDeploymentBuilder tenantId(String tenantId)
Description copied from interface:DocumentDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceDocumentDeploymentBuilder
-
enableDuplicateFiltering
public DocumentDeploymentBuilder 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
public DocumentDeployment deploy()
Description copied from interface:DocumentDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfaceDocumentDeploymentBuilder
-
getDeployment
public DocumentDeployment getDeployment()
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-
-