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