Class ServiceDeploymentBuilderImpl
java.lang.Object
com.flowable.serviceregistry.engine.impl.repository.ServiceDeploymentBuilderImpl
- All Implemented Interfaces:
ServiceDeploymentBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected ServiceDeploymentEntity
protected boolean
protected ServiceRegistryRepositoryServiceImpl
protected ServiceResourceEntityManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddClasspathResource
(String resource) addInputStream
(String resourceName, InputStream inputStream) addZipInputStream
(ZipInputStream zipInputStream) Gives the deployment the given category.deploy()
Deploys all provided sources to the CMMN engine.If set, this deployment will be compared to any previous deployment.boolean
Gives the deployment the given key.Gives the deployment the given name.parentDeploymentId
(String parentDeploymentId) Gives the deployment the given parent deployment id.protected String
stripFoldersFromResourceName
(String resourceName) Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
ServiceDeploymentBuilderImpl
public ServiceDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
- Specified by:
addInputStream
in interfaceServiceDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceServiceDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceServiceDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfaceServiceDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfaceServiceDeploymentBuilder
-
stripFoldersFromResourceName
-
name
Description copied from interface:ServiceDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceServiceDeploymentBuilder
-
category
Description copied from interface:ServiceDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceServiceDeploymentBuilder
-
key
Description copied from interface:ServiceDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceServiceDeploymentBuilder
-
parentDeploymentId
Description copied from interface:ServiceDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceServiceDeploymentBuilder
-
tenantId
Description copied from interface:ServiceDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceServiceDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:ServiceDeploymentBuilder
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 interfaceServiceDeploymentBuilder
-
deploy
Description copied from interface:ServiceDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfaceServiceDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-