Class PlatformDeploymentBuilderImpl
- java.lang.Object
-
- com.flowable.platform.engine.impl.repository.PlatformDeploymentBuilderImpl
-
- All Implemented Interfaces:
PlatformDeploymentBuilder
public class PlatformDeploymentBuilderImpl extends Object implements PlatformDeploymentBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected PlatformDeploymentEntity
deployment
protected boolean
isDuplicateFilterEnabled
protected PlatformRepositoryServiceImpl
repositoryService
protected PlatformResourceEntityManager
resourceEntityManager
-
Constructor Summary
Constructors Constructor Description PlatformDeploymentBuilderImpl()
-
Method Summary
-
-
-
Field Detail
-
repositoryService
protected PlatformRepositoryServiceImpl repositoryService
-
resourceEntityManager
protected PlatformResourceEntityManager resourceEntityManager
-
deployment
protected PlatformDeploymentEntity deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Method Detail
-
addInputStream
public PlatformDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
- Specified by:
addInputStream
in interfacePlatformDeploymentBuilder
-
addClasspathResource
public PlatformDeploymentBuilder addClasspathResource(String resource)
- Specified by:
addClasspathResource
in interfacePlatformDeploymentBuilder
-
addString
public PlatformDeploymentBuilder addString(String resourceName, String text)
- Specified by:
addString
in interfacePlatformDeploymentBuilder
-
addBytes
public PlatformDeploymentBuilder addBytes(String resourceName, byte[] bytes)
- Specified by:
addBytes
in interfacePlatformDeploymentBuilder
-
addZipInputStream
public PlatformDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
- Specified by:
addZipInputStream
in interfacePlatformDeploymentBuilder
-
name
public PlatformDeploymentBuilder name(String name)
Description copied from interface:PlatformDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfacePlatformDeploymentBuilder
-
category
public PlatformDeploymentBuilder category(String category)
Description copied from interface:PlatformDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfacePlatformDeploymentBuilder
-
key
public PlatformDeploymentBuilder key(String key)
Description copied from interface:PlatformDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfacePlatformDeploymentBuilder
-
parentDeploymentId
public PlatformDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Description copied from interface:PlatformDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfacePlatformDeploymentBuilder
-
tenantId
public PlatformDeploymentBuilder tenantId(String tenantId)
Description copied from interface:PlatformDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfacePlatformDeploymentBuilder
-
enableDuplicateFiltering
public PlatformDeploymentBuilder enableDuplicateFiltering()
Description copied from interface:PlatformDeploymentBuilder
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 interfacePlatformDeploymentBuilder
-
deploy
public PlatformDeployment deploy()
Description copied from interface:PlatformDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfacePlatformDeploymentBuilder
-
getDeployment
public PlatformDeployment getDeployment()
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-
-