Class PolicyDeploymentBuilderImpl
java.lang.Object
com.flowable.policy.engine.impl.repository.PolicyDeploymentBuilderImpl
- All Implemented Interfaces:
PolicyDeploymentBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprotected PolicyDeploymentEntity
protected boolean
protected PolicyRepositoryServiceImpl
protected PolicyResourceEntityManager
-
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
-
PolicyDeploymentBuilderImpl
public PolicyDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
- Specified by:
addInputStream
in interfacePolicyDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfacePolicyDeploymentBuilder
-
addString
- Specified by:
addString
in interfacePolicyDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfacePolicyDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfacePolicyDeploymentBuilder
-
stripFoldersFromResourceName
-
name
Description copied from interface:PolicyDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfacePolicyDeploymentBuilder
-
category
Description copied from interface:PolicyDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfacePolicyDeploymentBuilder
-
key
Description copied from interface:PolicyDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfacePolicyDeploymentBuilder
-
parentDeploymentId
Description copied from interface:PolicyDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfacePolicyDeploymentBuilder
-
tenantId
Description copied from interface:PolicyDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfacePolicyDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:PolicyDeploymentBuilder
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 interfacePolicyDeploymentBuilder
-
deploy
Description copied from interface:PolicyDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfacePolicyDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-