Package org.flowable.dmn.api
Interface DmnDeploymentBuilder
-
public interface DmnDeploymentBuilderBuilder for creating new deployments. A builder instance can be obtained throughDmnRepositoryService.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 DmnDeploymentBuilderaddClasspathResource(String resource)DmnDeploymentBuilderaddDmnBytes(String resourceName, byte[] dmnBytes)DmnDeploymentBuilderaddDmnModel(String resourceName, DmnDefinition dmnDefinition)DmnDeploymentBuilderaddInputStream(String resourceName, InputStream inputStream)DmnDeploymentBuilderaddString(String resourceName, String text)DmnDeploymentBuildercategory(String category)Gives the deployment the given category.DmnDeploymentdeploy()Deploys all provided sources to the DMN engine.DmnDeploymentBuilderdisableSchemaValidation()If called, no XML schema validation against the BPMN 2.0 XSD.DmnDeploymentBuilderenableDuplicateFiltering()DmnDeploymentBuildername(String name)Gives the deployment the given name.DmnDeploymentBuilderparentDeploymentId(String parentDeploymentId)Gives the deployment the given parent deployment id.DmnDeploymentBuildertenantId(String tenantId)Gives the deployment the given tenant id.
-
-
-
Method Detail
-
addInputStream
DmnDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
-
addClasspathResource
DmnDeploymentBuilder addClasspathResource(String resource)
-
addString
DmnDeploymentBuilder addString(String resourceName, String text)
-
addDmnBytes
DmnDeploymentBuilder addDmnBytes(String resourceName, byte[] dmnBytes)
-
addDmnModel
DmnDeploymentBuilder addDmnModel(String resourceName, DmnDefinition dmnDefinition)
-
disableSchemaValidation
DmnDeploymentBuilder disableSchemaValidation()
If called, no XML schema validation against the BPMN 2.0 XSD. Not recommended in general.
-
name
DmnDeploymentBuilder name(String name)
Gives the deployment the given name.
-
category
DmnDeploymentBuilder category(String category)
Gives the deployment the given category.
-
tenantId
DmnDeploymentBuilder tenantId(String tenantId)
Gives the deployment the given tenant id.
-
parentDeploymentId
DmnDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
-
enableDuplicateFiltering
DmnDeploymentBuilder enableDuplicateFiltering()
-
deploy
DmnDeployment deploy()
Deploys all provided sources to the DMN engine.
-
-