Class PolicyDeploymentBuilderImpl
java.lang.Object
com.flowable.policy.engine.impl.repository.PolicyDeploymentBuilderImpl
- All Implemented Interfaces:
PolicyDeploymentBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PolicyDeploymentEntityprotected booleanprotected PolicyRepositoryServiceImplprotected PolicyResourceEntityManager -
Constructor Summary
Constructors -
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.booleanGives the deployment the given key.Gives the deployment the given name.parentDeploymentId(String parentDeploymentId) Gives the deployment the given parent deployment id.protected StringstripFoldersFromResourceName(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:
addInputStreamin interfacePolicyDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfacePolicyDeploymentBuilder
-
addString
- Specified by:
addStringin interfacePolicyDeploymentBuilder
-
addBytes
- Specified by:
addBytesin interfacePolicyDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStreamin interfacePolicyDeploymentBuilder
-
stripFoldersFromResourceName
-
name
Description copied from interface:PolicyDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfacePolicyDeploymentBuilder
-
category
Description copied from interface:PolicyDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfacePolicyDeploymentBuilder
-
key
Description copied from interface:PolicyDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfacePolicyDeploymentBuilder
-
parentDeploymentId
Description copied from interface:PolicyDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfacePolicyDeploymentBuilder
-
tenantId
Description copied from interface:PolicyDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfacePolicyDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:PolicyDeploymentBuilderIf 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 interfacePolicyDeploymentBuilder
-
deploy
Description copied from interface:PolicyDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfacePolicyDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-