public interface DocumentDeploymentBuilder
DocumentRepositoryService.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 |
---|---|
DocumentDeploymentBuilder |
addBytes(String resourceName,
byte[] bytes) |
DocumentDeploymentBuilder |
addClasspathResource(String resource) |
DocumentDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
DocumentDeploymentBuilder |
addString(String resourceName,
String text) |
DocumentDeploymentBuilder |
addZipInputStream(ZipInputStream zipInputStream) |
DocumentDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
DocumentDeployment |
deploy()
Deploys all provided sources to the CMMN engine.
|
DocumentDeploymentBuilder |
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.
|
DocumentDeploymentBuilder |
key(String key)
Gives the deployment the given key.
|
DocumentDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
DocumentDeploymentBuilder |
parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
|
DocumentDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
DocumentDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
DocumentDeploymentBuilder addClasspathResource(String resource)
DocumentDeploymentBuilder addString(String resourceName, String text)
DocumentDeploymentBuilder addBytes(String resourceName, byte[] bytes)
DocumentDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
DocumentDeploymentBuilder name(String name)
DocumentDeploymentBuilder category(String category)
DocumentDeploymentBuilder key(String key)
DocumentDeploymentBuilder parentDeploymentId(String parentDeploymentId)
DocumentDeploymentBuilder tenantId(String tenantId)
DocumentDeploymentBuilder enableDuplicateFiltering()
DocumentDeployment deploy()