public class EventDeploymentBuilderImpl extends Object implements EventDeploymentBuilder, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_ENCODING |
protected EventDeploymentEntity |
deployment |
protected boolean |
isDuplicateFilterEnabled |
protected EventRepositoryServiceImpl |
repositoryService |
protected EventResourceEntityManager |
resourceEntityManager |
| Constructor and Description |
|---|
EventDeploymentBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
EventDeploymentBuilder |
addChannelDefinition(String resourceName,
String channelDefinition) |
EventDeploymentBuilder |
addChannelDefinitionBytes(String resourceName,
byte[] channelDefinitionBytes) |
EventDeploymentBuilder |
addClasspathResource(String resource) |
EventDeploymentBuilder |
addEventDefinition(String resourceName,
String eventDefinition) |
EventDeploymentBuilder |
addEventDefinitionBytes(String resourceName,
byte[] eventDefinitionBytes) |
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.
|
EventDeploymentEntity |
getDeployment() |
boolean |
isDuplicateFilterEnabled() |
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.
|
protected static final String DEFAULT_ENCODING
protected transient EventRepositoryServiceImpl repositoryService
protected transient EventResourceEntityManager resourceEntityManager
protected EventDeploymentEntity deployment
protected boolean isDuplicateFilterEnabled
public EventDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
addInputStream in interface EventDeploymentBuilderpublic EventDeploymentBuilder addClasspathResource(String resource)
addClasspathResource in interface EventDeploymentBuilderpublic EventDeploymentBuilder addString(String resourceName, String text)
addString in interface EventDeploymentBuilderpublic EventDeploymentBuilder addEventDefinitionBytes(String resourceName, byte[] eventDefinitionBytes)
addEventDefinitionBytes in interface EventDeploymentBuilderpublic EventDeploymentBuilder addEventDefinition(String resourceName, String eventDefinition)
addEventDefinition in interface EventDeploymentBuilderpublic EventDeploymentBuilder addChannelDefinitionBytes(String resourceName, byte[] channelDefinitionBytes)
addChannelDefinitionBytes in interface EventDeploymentBuilderpublic EventDeploymentBuilder addChannelDefinition(String resourceName, String channelDefinition)
addChannelDefinition in interface EventDeploymentBuilderpublic EventDeploymentBuilder name(String name)
EventDeploymentBuildername in interface EventDeploymentBuilderpublic EventDeploymentBuilder category(String category)
EventDeploymentBuildercategory in interface EventDeploymentBuilderpublic EventDeploymentBuilder tenantId(String tenantId)
EventDeploymentBuildertenantId in interface EventDeploymentBuilderpublic EventDeploymentBuilder parentDeploymentId(String parentDeploymentId)
EventDeploymentBuilderparentDeploymentId in interface EventDeploymentBuilderpublic EventDeploymentBuilder enableDuplicateFiltering()
EventDeploymentBuilderenableDuplicateFiltering in interface EventDeploymentBuilderpublic EventDeployment deploy()
EventDeploymentBuilderdeploy in interface EventDeploymentBuilderpublic EventDeploymentEntity getDeployment()
public boolean isDuplicateFilterEnabled()
Copyright © 2023 Flowable. All rights reserved.