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 ActionDeploymentEntity
deployment
protected boolean
isDuplicateFilterEnabled
protected ActionRepositoryServiceImpl
repositoryService
protected ActionResourceEntityManager
resourceEntityManager
-
Constructor Summary
Constructors Constructor Description ActionDeploymentBuilderImpl()
-
Method Summary
Modifier and Type Method Description ActionDeploymentBuilder
addBytes(java.lang.String resourceName, byte[] bytes)
ActionDeploymentBuilder
addClasspathResource(java.lang.String resource)
ActionDeploymentBuilder
addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)
ActionDeploymentBuilder
addString(java.lang.String resourceName, java.lang.String text)
ActionDeploymentBuilder
addZipInputStream(java.util.zip.ZipInputStream zipInputStream)
ActionDeploymentBuilder
category(java.lang.String category)
Gives the deployment the given category.ActionDeployment
deploy()
Deploys all provided sources to the CMMN engine.ActionDeploymentBuilder
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.ActionDeployment
getDeployment()
boolean
isDuplicateFilterEnabled()
ActionDeploymentBuilder
key(java.lang.String key)
Gives the deployment the given key.ActionDeploymentBuilder
name(java.lang.String name)
Gives the deployment the given name.ActionDeploymentBuilder
parentDeploymentId(java.lang.String parentDeploymentId)
Gives the deployment the given parent deployment id.protected java.lang.String
stripFoldersFromResourceName(java.lang.String resourceName)
ActionDeploymentBuilder
tenantId(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:
addInputStream
in interfaceActionDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceActionDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceActionDeploymentBuilder
-
addBytes
- Specified by:
addBytes
in interfaceActionDeploymentBuilder
-
addZipInputStream
- Specified by:
addZipInputStream
in interfaceActionDeploymentBuilder
-
stripFoldersFromResourceName
protected java.lang.String stripFoldersFromResourceName(java.lang.String resourceName) -
name
Description copied from interface:ActionDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceActionDeploymentBuilder
-
category
Description copied from interface:ActionDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceActionDeploymentBuilder
-
key
Description copied from interface:ActionDeploymentBuilder
Gives the deployment the given key.- Specified by:
key
in interfaceActionDeploymentBuilder
-
parentDeploymentId
Description copied from interface:ActionDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceActionDeploymentBuilder
-
tenantId
Description copied from interface:ActionDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceActionDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:ActionDeploymentBuilder
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 interfaceActionDeploymentBuilder
-
deploy
Description copied from interface:ActionDeploymentBuilder
Deploys all provided sources to the CMMN engine.- Specified by:
deploy
in interfaceActionDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-