public interface FormDeploymentBuilder
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.| Modifier and Type | Method and Description |
|---|---|
FormDeploymentBuilder |
addClasspathResource(String resource) |
FormDeploymentBuilder |
addFormBytes(String resourceName,
byte[] formBytes) |
FormDeploymentBuilder |
addFormDefinition(String resourceName,
String formDefinition) |
FormDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
FormDeploymentBuilder |
addString(String resourceName,
String text) |
FormDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
FormDeployment |
deploy()
Deploys all provided sources to the Flowable engine.
|
FormDeploymentBuilder |
enableDuplicateFiltering()
Allows to add a property to the deployment builder that influences the deployment.
|
FormDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
FormDeploymentBuilder |
parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
|
FormDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
FormDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
FormDeploymentBuilder addClasspathResource(String resource)
FormDeploymentBuilder addString(String resourceName, String text)
FormDeploymentBuilder addFormBytes(String resourceName, byte[] formBytes)
FormDeploymentBuilder addFormDefinition(String resourceName, String formDefinition)
FormDeploymentBuilder name(String name)
FormDeploymentBuilder category(String category)
FormDeploymentBuilder tenantId(String tenantId)
FormDeploymentBuilder parentDeploymentId(String parentDeploymentId)
FormDeploymentBuilder enableDuplicateFiltering()
FormDeployment deploy()
Copyright © 2022 Flowable. All rights reserved.