Class ActionDeploymentBuilderImpl
java.lang.Object
com.flowable.action.engine.impl.repository.ActionDeploymentBuilderImpl
- All Implemented Interfaces:
ActionDeploymentBuilder
public class ActionDeploymentBuilderImpl extends java.lang.Object implements ActionDeploymentBuilder
-
Field Summary
Fields Modifier and Type Field Description protected ActionDeploymentEntitydeploymentprotected booleanisDuplicateFilterEnabledprotected ActionRepositoryServiceImplrepositoryServiceprotected ActionResourceEntityManagerresourceEntityManager -
Constructor Summary
Constructors Constructor Description ActionDeploymentBuilderImpl() -
Method Summary
Modifier and Type Method Description ActionDeploymentBuilderaddBytes(java.lang.String resourceName, byte[] bytes)ActionDeploymentBuilderaddClasspathResource(java.lang.String resource)ActionDeploymentBuilderaddInputStream(java.lang.String resourceName, java.io.InputStream inputStream)ActionDeploymentBuilderaddString(java.lang.String resourceName, java.lang.String text)ActionDeploymentBuilderaddZipInputStream(java.util.zip.ZipInputStream zipInputStream)ActionDeploymentBuildercategory(java.lang.String category)Gives the deployment the given category.ActionDeploymentdeploy()Deploys all provided sources to the CMMN engine.ActionDeploymentBuilderenableDuplicateFiltering()If set, this deployment will be compared to any previous deployment.ActionDeploymentgetDeployment()booleanisDuplicateFilterEnabled()ActionDeploymentBuilderkey(java.lang.String key)Gives the deployment the given key.ActionDeploymentBuildername(java.lang.String name)Gives the deployment the given name.ActionDeploymentBuilderparentDeploymentId(java.lang.String parentDeploymentId)Gives the deployment the given parent deployment id.protected java.lang.StringstripFoldersFromResourceName(java.lang.String resourceName)ActionDeploymentBuildertenantId(java.lang.String tenantId)Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
ActionDeploymentBuilderImpl
public ActionDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
public ActionDeploymentBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)- Specified by:
addInputStreamin interfaceActionDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfaceActionDeploymentBuilder
-
addString
- Specified by:
addStringin interfaceActionDeploymentBuilder
-
addBytes
- Specified by:
addBytesin interfaceActionDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStreamin interfaceActionDeploymentBuilder
-
stripFoldersFromResourceName
protected java.lang.String stripFoldersFromResourceName(java.lang.String resourceName) -
name
Description copied from interface:ActionDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceActionDeploymentBuilder
-
category
Description copied from interface:ActionDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceActionDeploymentBuilder
-
key
Description copied from interface:ActionDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceActionDeploymentBuilder
-
parentDeploymentId
Description copied from interface:ActionDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceActionDeploymentBuilder
-
tenantId
Description copied from interface:ActionDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceActionDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:ActionDeploymentBuilderIf 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 interfaceActionDeploymentBuilder
-
deploy
Description copied from interface:ActionDeploymentBuilderDeploys all provided sources to the CMMN engine.- Specified by:
deployin interfaceActionDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-