Class EventDeploymentBuilderImpl
java.lang.Object
org.flowable.eventregistry.impl.repository.EventDeploymentBuilderImpl
- All Implemented Interfaces:
Serializable
,EventDeploymentBuilder
public class EventDeploymentBuilderImpl
extends Object
implements EventDeploymentBuilder, Serializable
- Author:
- Tijs Rademakers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventDeploymentEntity
protected boolean
protected EventRepositoryServiceImpl
protected EventResourceEntityManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChannelDefinition
(String resourceName, String channelDefinition) addChannelDefinitionBytes
(String resourceName, byte[] channelDefinitionBytes) addClasspathResource
(String resource) addEventDefinition
(String resourceName, String eventDefinition) addEventDefinitionBytes
(String resourceName, byte[] eventDefinitionBytes) 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.boolean
Gives the deployment the given name.parentDeploymentId
(String parentDeploymentId) Gives the deployment the given parent deployment id.Gives the deployment the given tenant id.
-
Field Details
-
repositoryService
-
resourceEntityManager
-
deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Constructor Details
-
EventDeploymentBuilderImpl
public EventDeploymentBuilderImpl()
-
-
Method Details
-
addInputStream
- Specified by:
addInputStream
in interfaceEventDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResource
in interfaceEventDeploymentBuilder
-
addString
- Specified by:
addString
in interfaceEventDeploymentBuilder
-
addEventDefinitionBytes
public EventDeploymentBuilder addEventDefinitionBytes(String resourceName, byte[] eventDefinitionBytes) - Specified by:
addEventDefinitionBytes
in interfaceEventDeploymentBuilder
-
addEventDefinition
- Specified by:
addEventDefinition
in interfaceEventDeploymentBuilder
-
addChannelDefinitionBytes
public EventDeploymentBuilder addChannelDefinitionBytes(String resourceName, byte[] channelDefinitionBytes) - Specified by:
addChannelDefinitionBytes
in interfaceEventDeploymentBuilder
-
addChannelDefinition
- Specified by:
addChannelDefinition
in interfaceEventDeploymentBuilder
-
name
Description copied from interface:EventDeploymentBuilder
Gives the deployment the given name.- Specified by:
name
in interfaceEventDeploymentBuilder
-
category
Description copied from interface:EventDeploymentBuilder
Gives the deployment the given category.- Specified by:
category
in interfaceEventDeploymentBuilder
-
tenantId
Description copied from interface:EventDeploymentBuilder
Gives the deployment the given tenant id.- Specified by:
tenantId
in interfaceEventDeploymentBuilder
-
parentDeploymentId
Description copied from interface:EventDeploymentBuilder
Gives the deployment the given parent deployment id.- Specified by:
parentDeploymentId
in interfaceEventDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:EventDeploymentBuilder
Allows to add a property to the deployment builder that influences the deployment.- Specified by:
enableDuplicateFiltering
in interfaceEventDeploymentBuilder
-
deploy
Description copied from interface:EventDeploymentBuilder
Deploys all provided sources to the Flowable engine.- Specified by:
deploy
in interfaceEventDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-