public class FormDeploymentBuilderImpl extends Object implements FormDeploymentBuilder, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_ENCODING |
protected FormDeploymentEntity |
deployment |
protected boolean |
isDuplicateFilterEnabled |
protected FormRepositoryServiceImpl |
repositoryService |
protected FormResourceEntityManager |
resourceEntityManager |
| Constructor and Description |
|---|
FormDeploymentBuilderImpl() |
| 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.
|
FormDeploymentEntity |
getDeployment() |
boolean |
isDuplicateFilterEnabled() |
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.
|
protected static final String DEFAULT_ENCODING
protected transient FormRepositoryServiceImpl repositoryService
protected transient FormResourceEntityManager resourceEntityManager
protected FormDeploymentEntity deployment
protected boolean isDuplicateFilterEnabled
public FormDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
addInputStream in interface FormDeploymentBuilderpublic FormDeploymentBuilder addClasspathResource(String resource)
addClasspathResource in interface FormDeploymentBuilderpublic FormDeploymentBuilder addString(String resourceName, String text)
addString in interface FormDeploymentBuilderpublic FormDeploymentBuilder addFormBytes(String resourceName, byte[] formBytes)
addFormBytes in interface FormDeploymentBuilderpublic FormDeploymentBuilder addFormDefinition(String resourceName, String formDefinition)
addFormDefinition in interface FormDeploymentBuilderpublic FormDeploymentBuilder name(String name)
FormDeploymentBuildername in interface FormDeploymentBuilderpublic FormDeploymentBuilder category(String category)
FormDeploymentBuildercategory in interface FormDeploymentBuilderpublic FormDeploymentBuilder tenantId(String tenantId)
FormDeploymentBuildertenantId in interface FormDeploymentBuilderpublic FormDeploymentBuilder parentDeploymentId(String parentDeploymentId)
FormDeploymentBuilderparentDeploymentId in interface FormDeploymentBuilderpublic FormDeploymentBuilder enableDuplicateFiltering()
FormDeploymentBuilderenableDuplicateFiltering in interface FormDeploymentBuilderpublic FormDeployment deploy()
FormDeploymentBuilderdeploy in interface FormDeploymentBuilderpublic FormDeploymentEntity getDeployment()
public boolean isDuplicateFilterEnabled()
Copyright © 2023 Flowable. All rights reserved.