public interface DmnDeploymentBuilder
org.activiti.dmn.engine.DmnRepositoryService#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 |
|---|---|
DmnDeploymentBuilder |
addClasspathResource(String resource) |
DmnDeploymentBuilder |
addDmnBytes(String resourceName,
byte[] dmnBytes) |
DmnDeploymentBuilder |
addDmnModel(String resourceName,
DmnDefinition dmnDefinition) |
DmnDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
DmnDeploymentBuilder |
addString(String resourceName,
String text) |
DmnDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
DmnDeployment |
deploy()
Deploys all provided sources to the Activiti engine.
|
DmnDeploymentBuilder |
disableSchemaValidation()
If called, no XML schema validation against the BPMN 2.0 XSD.
|
DmnDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
DmnDeploymentBuilder |
parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
|
DmnDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
DmnDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
DmnDeploymentBuilder addClasspathResource(String resource)
DmnDeploymentBuilder addString(String resourceName, String text)
DmnDeploymentBuilder addDmnBytes(String resourceName, byte[] dmnBytes)
DmnDeploymentBuilder addDmnModel(String resourceName, DmnDefinition dmnDefinition)
DmnDeploymentBuilder disableSchemaValidation()
DmnDeploymentBuilder name(String name)
DmnDeploymentBuilder category(String category)
DmnDeploymentBuilder tenantId(String tenantId)
DmnDeploymentBuilder parentDeploymentId(String parentDeploymentId)
DmnDeployment deploy()
Copyright © 2017 Alfresco. All rights reserved.