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