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 PlatformDeploymentEntitydeploymentprotected booleanisDuplicateFilterEnabledprotected PlatformRepositoryServiceImplrepositoryServiceprotected PlatformResourceEntityManagerresourceEntityManager
-
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:
addInputStreamin interfacePlatformDeploymentBuilder
-
addClasspathResource
public PlatformDeploymentBuilder addClasspathResource(String resource)
- Specified by:
addClasspathResourcein interfacePlatformDeploymentBuilder
-
addString
public PlatformDeploymentBuilder addString(String resourceName, String text)
- Specified by:
addStringin interfacePlatformDeploymentBuilder
-
addBytes
public PlatformDeploymentBuilder addBytes(String resourceName, byte[] bytes)
- Specified by:
addBytesin interfacePlatformDeploymentBuilder
-
addZipInputStream
public PlatformDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
- Specified by:
addZipInputStreamin interfacePlatformDeploymentBuilder
-
name
public PlatformDeploymentBuilder name(String name)
Description copied from interface:PlatformDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfacePlatformDeploymentBuilder
-
category
public PlatformDeploymentBuilder category(String category)
Description copied from interface:PlatformDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfacePlatformDeploymentBuilder
-
key
public PlatformDeploymentBuilder key(String key)
Description copied from interface:PlatformDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfacePlatformDeploymentBuilder
-
parentDeploymentId
public PlatformDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Description copied from interface:PlatformDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfacePlatformDeploymentBuilder
-
tenantId
public PlatformDeploymentBuilder tenantId(String tenantId)
Description copied from interface:PlatformDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfacePlatformDeploymentBuilder
-
enableDuplicateFiltering
public PlatformDeploymentBuilder enableDuplicateFiltering()
Description copied from interface:PlatformDeploymentBuilderIf 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 interfacePlatformDeploymentBuilder
-
deploy
public PlatformDeployment deploy()
Description copied from interface:PlatformDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfacePlatformDeploymentBuilder
-
getDeployment
public PlatformDeployment getDeployment()
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-
-