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
All Methods Instance Methods Concrete Methods 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 Detail
-
repositoryService
protected ActionRepositoryServiceImpl repositoryService
-
resourceEntityManager
protected ActionResourceEntityManager resourceEntityManager
-
deployment
protected ActionDeploymentEntity deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Method Detail
-
addInputStream
public ActionDeploymentBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)
- Specified by:
addInputStreamin interfaceActionDeploymentBuilder
-
addClasspathResource
public ActionDeploymentBuilder addClasspathResource(java.lang.String resource)
- Specified by:
addClasspathResourcein interfaceActionDeploymentBuilder
-
addString
public ActionDeploymentBuilder addString(java.lang.String resourceName, java.lang.String text)
- Specified by:
addStringin interfaceActionDeploymentBuilder
-
addBytes
public ActionDeploymentBuilder addBytes(java.lang.String resourceName, byte[] bytes)
- Specified by:
addBytesin interfaceActionDeploymentBuilder
-
addZipInputStream
public ActionDeploymentBuilder addZipInputStream(java.util.zip.ZipInputStream zipInputStream)
- Specified by:
addZipInputStreamin interfaceActionDeploymentBuilder
-
stripFoldersFromResourceName
protected java.lang.String stripFoldersFromResourceName(java.lang.String resourceName)
-
name
public ActionDeploymentBuilder name(java.lang.String name)
Description copied from interface:ActionDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceActionDeploymentBuilder
-
category
public ActionDeploymentBuilder category(java.lang.String category)
Description copied from interface:ActionDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceActionDeploymentBuilder
-
key
public ActionDeploymentBuilder key(java.lang.String key)
Description copied from interface:ActionDeploymentBuilderGives the deployment the given key.- Specified by:
keyin interfaceActionDeploymentBuilder
-
parentDeploymentId
public ActionDeploymentBuilder parentDeploymentId(java.lang.String parentDeploymentId)
Description copied from interface:ActionDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceActionDeploymentBuilder
-
tenantId
public ActionDeploymentBuilder tenantId(java.lang.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()
-
-