public interface AppDeploymentBuilder
AppRepositoryService.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 |
|---|---|
AppDeploymentBuilder |
addBytes(String resourceName,
byte[] bytes) |
AppDeploymentBuilder |
addClasspathResource(String resource) |
AppDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
AppDeploymentBuilder |
addString(String resourceName,
String text) |
AppDeploymentBuilder |
addZipInputStream(ZipInputStream zipInputStream) |
AppDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
AppDeployment |
deploy()
Deploys all provided sources to the CMMN engine.
|
AppDeploymentBuilder |
disableSchemaValidation()
If called, no XML schema validation against the XSD.
|
AppDeploymentBuilder |
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.
|
AppDeploymentBuilder |
key(String key)
Gives the deployment the given key.
|
AppDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
AppDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
AppDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
AppDeploymentBuilder addClasspathResource(String resource)
AppDeploymentBuilder addString(String resourceName, String text)
AppDeploymentBuilder addBytes(String resourceName, byte[] bytes)
AppDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
AppDeploymentBuilder disableSchemaValidation()
AppDeploymentBuilder name(String name)
AppDeploymentBuilder category(String category)
AppDeploymentBuilder key(String key)
AppDeploymentBuilder tenantId(String tenantId)
AppDeploymentBuilder enableDuplicateFiltering()
AppDeployment deploy()
Copyright © 2021 Flowable. All rights reserved.