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