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 DocumentDeploymentEntity
deployment
protected boolean
isDuplicateFilterEnabled
protected DocumentRepositoryServiceImpl
repositoryService
protected DocumentResourceEntityManager
resourceEntityManager
-
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:
addInputStream
in interfaceDocumentDeploymentBuilder
-
addClasspathResource
public DocumentDeploymentBuilder addClasspathResource(String resource)
- Specified by:
addClasspathResource
in interfaceDocumentDeploymentBuilder
-
addString
public DocumentDeploymentBuilder addString(String resourceName, String text)
- Specified by:
addString
in interfaceDocumentDeploymentBuilder
-
addBytes
public DocumentDeploymentBuilder addBytes(String resourceName, byte[] bytes)
- Specified by:
addBytes
in interfaceDocumentDeploymentBuilder
-
addZipInputStream
public DocumentDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
- Specified by:
addZipInputStream
in interfaceDocumentDeploymentBuilder
-
name
public DocumentDeploymentBuilder name(String name)
Description copied from interface:DocumentDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceDocumentDeploymentBuilder
-
category
public DocumentDeploymentBuilder category(String category)
Description copied from interface:DocumentDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceDocumentDeploymentBuilder
-
key
public DocumentDeploymentBuilder key(String key)
Description copied from interface:DocumentDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceDocumentDeploymentBuilder
-
parentDeploymentId
public DocumentDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Description copied from interface:DocumentDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceDocumentDeploymentBuilder
-
tenantId
public DocumentDeploymentBuilder tenantId(String tenantId)
Description copied from interface:DocumentDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceDocumentDeploymentBuilder
-
enableDuplicateFiltering
public DocumentDeploymentBuilder enableDuplicateFiltering()
Description copied from interface:DocumentDeploymentBuilder
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 interfaceDocumentDeploymentBuilder
-
deploy
public DocumentDeployment deploy()
Description copied from interface:DocumentDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfaceDocumentDeploymentBuilder
-
getDeployment
public DocumentDeployment getDeployment()
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-
-