Package org.flowable.form.api
Interface FormDeploymentBuilder
public interface FormDeploymentBuilder
Builder for creating new deployments.
A builder instance can be obtained through
FormRepositoryService.createDeployment()
.
Multiple resources can be added to one deployment before calling the deploy()
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
Modifier and TypeMethodDescriptionaddClasspathResource
(String resource) addFormBytes
(String resourceName, byte[] formBytes) addFormDefinition
(String resourceName, String formDefinition) addInputStream
(String resourceName, InputStream inputStream) Gives the deployment the given category.deploy()
Deploys all provided sources to the Flowable engine.Allows to add a property to the deployment builder that influences the deployment.Gives the deployment the given name.parentDeploymentId
(String parentDeploymentId) Gives the deployment the given parent deployment id.Gives the deployment the given tenant id.
-
Method Details
-
addInputStream
-
addClasspathResource
-
addString
-
addFormBytes
-
addFormDefinition
-
name
Gives the deployment the given name. -
category
Gives the deployment the given category. -
tenantId
Gives the deployment the given tenant id. -
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.
-