Package org.flowable.eventregistry.api
Interface EventDeploymentBuilder
public interface EventDeploymentBuilder
Builder for creating new deployments.
A builder instance can be obtained through
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.- Author:
- Tijs Rademakers, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionaddChannelDefinition
(String resourceName, String channelDefinition) addChannelDefinitionBytes
(String resourceName, byte[] channelBytes) addClasspathResource
(String resource) addEventDefinition
(String resourceName, String eventDefinition) addEventDefinitionBytes
(String resourceName, byte[] eventBytes) addInputStream
(String resourceName, InputStream inputStream) Gives the deployment the given category.deploy()
Deploys all provided sources to the Flowable engine.Allows to add a property to the deployment builder that influences the deployment.Gives the deployment the given name.parentDeploymentId
(String parentDeploymentId) Gives the deployment the given parent deployment id.Gives the deployment the given tenant id.
-
Method Details
-
addInputStream
-
addClasspathResource
-
addString
-
addEventDefinitionBytes
-
addEventDefinition
-
addChannelDefinitionBytes
-
addChannelDefinition
-
name
Gives the deployment the given name. -
category
Gives the deployment the given category. -
tenantId
Gives the deployment the given tenant id. -
parentDeploymentId
Gives the deployment the given parent deployment id. -
enableDuplicateFiltering
EventDeploymentBuilder enableDuplicateFiltering()Allows to add a property to the deployment builder that influences the deployment. -
deploy
EventDeployment deploy()Deploys all provided sources to the Flowable engine.
-