Class DataObjectDeploymentBuilderImpl
java.lang.Object
com.flowable.dataobject.engine.impl.repository.DataObjectDeploymentBuilderImpl
- All Implemented Interfaces:
DataObjectDeploymentBuilder
public class DataObjectDeploymentBuilderImpl extends java.lang.Object implements DataObjectDeploymentBuilder
-
Field Summary
Fields Modifier and Type Field Description protected DataObjectDeploymentEntity
deployment
protected boolean
isDuplicateFilterEnabled
protected DataObjectRepositoryServiceImpl
repositoryService
protected DataObjectResourceEntityManager
resourceEntityManager
-
Constructor Summary
Constructors Constructor Description DataObjectDeploymentBuilderImpl()
-
Method Summary
Modifier and Type Method Description DataObjectDeploymentBuilder
addBytes(java.lang.String resourceName, byte[] bytes)
DataObjectDeploymentBuilder
addClasspathResource(java.lang.String resource)
DataObjectDeploymentBuilder
addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)
DataObjectDeploymentBuilder
addString(java.lang.String resourceName, java.lang.String text)
DataObjectDeploymentBuilder
addZipInputStream(java.util.zip.ZipInputStream zipInputStream)
DataObjectDeploymentBuilder
category(java.lang.String category)
Gives the deployment the given category.DataObjectDeployment
deploy()
Deploys all provided sources to the Data Object engine.DataObjectDeploymentBuilder
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.DataObjectDeployment
getDeployment()
boolean
isDuplicateFilterEnabled()
DataObjectDeploymentBuilder
key(java.lang.String key)
Gives the deployment the given key.DataObjectDeploymentBuilder
name(java.lang.String name)
Gives the deployment the given name.DataObjectDeploymentBuilder
parentDeploymentId(java.lang.String parentDeploymentId)
Gives the deployment the given parent deployment id.protected java.lang.String
stripFoldersFromResourceName(java.lang.String resourceName)
DataObjectDeploymentBuilder
tenantId(java.lang.String tenantId)
Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
DataObjectDeploymentBuilderImpl
public DataObjectDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
public DataObjectDeploymentBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)- Specified by:
addInputStream
in interfaceDataObjectDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceDataObjectDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceDataObjectDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfaceDataObjectDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfaceDataObjectDeploymentBuilder
-
stripFoldersFromResourceName
protected java.lang.String stripFoldersFromResourceName(java.lang.String resourceName) -
name
Description copied from interface:DataObjectDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceDataObjectDeploymentBuilder
-
category
Description copied from interface:DataObjectDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceDataObjectDeploymentBuilder
-
key
Description copied from interface:DataObjectDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceDataObjectDeploymentBuilder
-
parentDeploymentId
Description copied from interface:DataObjectDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceDataObjectDeploymentBuilder
-
tenantId
Description copied from interface:DataObjectDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceDataObjectDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:DataObjectDeploymentBuilder
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 interfaceDataObjectDeploymentBuilder
-
deploy
Description copied from interface:DataObjectDeploymentBuilder
Deploys all provided sources to the Data Object engine.- Specified by:
deploy
in interfaceDataObjectDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-