public interface EventDeploymentBuilder
EventRepositoryService.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 |
|---|---|
EventDeploymentBuilder |
addChannelDefinition(String resourceName,
String channelDefinition) |
EventDeploymentBuilder |
addChannelDefinitionBytes(String resourceName,
byte[] channelBytes) |
EventDeploymentBuilder |
addClasspathResource(String resource) |
EventDeploymentBuilder |
addEventDefinition(String resourceName,
String eventDefinition) |
EventDeploymentBuilder |
addEventDefinitionBytes(String resourceName,
byte[] eventBytes) |
EventDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
EventDeploymentBuilder |
addString(String resourceName,
String text) |
EventDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
EventDeployment |
deploy()
Deploys all provided sources to the Flowable engine.
|
EventDeploymentBuilder |
enableDuplicateFiltering()
Allows to add a property to the deployment builder that influences the deployment.
|
EventDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
EventDeploymentBuilder |
parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
|
EventDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
EventDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
EventDeploymentBuilder addClasspathResource(String resource)
EventDeploymentBuilder addString(String resourceName, String text)
EventDeploymentBuilder addEventDefinitionBytes(String resourceName, byte[] eventBytes)
EventDeploymentBuilder addEventDefinition(String resourceName, String eventDefinition)
EventDeploymentBuilder addChannelDefinitionBytes(String resourceName, byte[] channelBytes)
EventDeploymentBuilder addChannelDefinition(String resourceName, String channelDefinition)
EventDeploymentBuilder name(String name)
EventDeploymentBuilder category(String category)
EventDeploymentBuilder tenantId(String tenantId)
EventDeploymentBuilder parentDeploymentId(String parentDeploymentId)
EventDeploymentBuilder enableDuplicateFiltering()
EventDeployment deploy()
Copyright © 2022 Flowable. All rights reserved.