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 EventDeploymentEntityprotected booleanprotected EventRepositoryServiceImplprotected 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.booleanGives 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:
addInputStreamin interfaceEventDeploymentBuilder
-
addClasspathResource
- Specified by:
addClasspathResourcein interfaceEventDeploymentBuilder
-
addString
- Specified by:
addStringin interfaceEventDeploymentBuilder
-
addEventDefinitionBytes
public EventDeploymentBuilder addEventDefinitionBytes(String resourceName, byte[] eventDefinitionBytes) - Specified by:
addEventDefinitionBytesin interfaceEventDeploymentBuilder
-
addEventDefinition
- Specified by:
addEventDefinitionin interfaceEventDeploymentBuilder
-
addChannelDefinitionBytes
public EventDeploymentBuilder addChannelDefinitionBytes(String resourceName, byte[] channelDefinitionBytes) - Specified by:
addChannelDefinitionBytesin interfaceEventDeploymentBuilder
-
addChannelDefinition
- Specified by:
addChannelDefinitionin interfaceEventDeploymentBuilder
-
name
Description copied from interface:EventDeploymentBuilderGives the deployment the given name.- Specified by:
namein interfaceEventDeploymentBuilder
-
category
Description copied from interface:EventDeploymentBuilderGives the deployment the given category.- Specified by:
categoryin interfaceEventDeploymentBuilder
-
tenantId
Description copied from interface:EventDeploymentBuilderGives the deployment the given tenant id.- Specified by:
tenantIdin interfaceEventDeploymentBuilder
-
parentDeploymentId
Description copied from interface:EventDeploymentBuilderGives the deployment the given parent deployment id.- Specified by:
parentDeploymentIdin interfaceEventDeploymentBuilder
-
enableDuplicateFiltering
Description copied from interface:EventDeploymentBuilderAllows to add a property to the deployment builder that influences the deployment.- Specified by:
enableDuplicateFilteringin interfaceEventDeploymentBuilder
-
deploy
Description copied from interface:EventDeploymentBuilderDeploys all provided sources to the Flowable engine.- Specified by:
deployin interfaceEventDeploymentBuilder
-
getDeployment
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-