Package org.flowable.form.api
Interface FormDeploymentBuilder
-
public interface FormDeploymentBuilderBuilder for creating new deployments. A builder instance can be obtained throughFormRepositoryService.createDeployment(). Multiple resources can be added to one deployment before calling thedeploy()operation. After deploying, no more changes can be made to the returned deployment and the builder instance can be disposed.- Author:
- Tijs Rademakers, Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormDeploymentBuilderaddClasspathResource(String resource)FormDeploymentBuilderaddFormBytes(String resourceName, byte[] formBytes)FormDeploymentBuilderaddFormDefinition(String resourceName, String formDefinition)FormDeploymentBuilderaddInputStream(String resourceName, InputStream inputStream)FormDeploymentBuilderaddString(String resourceName, String text)FormDeploymentBuildercategory(String category)Gives the deployment the given category.FormDeploymentdeploy()Deploys all provided sources to the Flowable engine.FormDeploymentBuilderenableDuplicateFiltering()Allows to add a property to the deployment builder that influences the deployment.FormDeploymentBuildername(String name)Gives the deployment the given name.FormDeploymentBuilderparentDeploymentId(String parentDeploymentId)Gives the deployment the given parent deployment id.FormDeploymentBuildertenantId(String tenantId)Gives the deployment the given tenant id.
-
-
-
Method Detail
-
addInputStream
FormDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
-
addClasspathResource
FormDeploymentBuilder addClasspathResource(String resource)
-
addString
FormDeploymentBuilder addString(String resourceName, String text)
-
addFormBytes
FormDeploymentBuilder addFormBytes(String resourceName, byte[] formBytes)
-
addFormDefinition
FormDeploymentBuilder addFormDefinition(String resourceName, String formDefinition)
-
name
FormDeploymentBuilder name(String name)
Gives the deployment the given name.
-
category
FormDeploymentBuilder category(String category)
Gives the deployment the given category.
-
tenantId
FormDeploymentBuilder tenantId(String tenantId)
Gives the deployment the given tenant id.
-
parentDeploymentId
FormDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
-
enableDuplicateFiltering
FormDeploymentBuilder enableDuplicateFiltering()
Allows to add a property to the deployment builder that influences the deployment.
-
deploy
FormDeployment deploy()
Deploys all provided sources to the Flowable engine.
-
-