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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_ENCODINGprotected EventDeploymentEntitydeploymentprotected booleanisDuplicateFilterEnabledprotected EventRepositoryServiceImplrepositoryServiceprotected EventResourceEntityManagerresourceEntityManager
-
Constructor Summary
Constructors Constructor Description EventDeploymentBuilderImpl()
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_ENCODING
protected static final String DEFAULT_ENCODING
- See Also:
- Constant Field Values
-
repositoryService
protected transient EventRepositoryServiceImpl repositoryService
-
resourceEntityManager
protected transient EventResourceEntityManager resourceEntityManager
-
deployment
protected EventDeploymentEntity deployment
-
isDuplicateFilterEnabled
protected boolean isDuplicateFilterEnabled
-
-
Method Detail
-
addInputStream
public EventDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
- Specified by:
addInputStreamin interfaceEventDeploymentBuilder
-
addClasspathResource
public EventDeploymentBuilder addClasspathResource(String resource)
- Specified by:
addClasspathResourcein interfaceEventDeploymentBuilder
-
addString
public EventDeploymentBuilder addString(String resourceName, String text)
- Specified by:
addStringin interfaceEventDeploymentBuilder
-
addEventDefinitionBytes
public EventDeploymentBuilder addEventDefinitionBytes(String resourceName, byte[] eventDefinitionBytes)
- Specified by:
addEventDefinitionBytesin interfaceEventDeploymentBuilder
-
addEventDefinition
public EventDeploymentBuilder addEventDefinition(String resourceName, String eventDefinition)
- Specified by:
addEventDefinitionin interfaceEventDeploymentBuilder
-
addChannelDefinitionBytes
public EventDeploymentBuilder addChannelDefinitionBytes(String resourceName, byte[] channelDefinitionBytes)
- Specified by:
addChannelDefinitionBytesin interfaceEventDeploymentBuilder
-
addChannelDefinition
public EventDeploymentBuilder addChannelDefinition(String resourceName, String channelDefinition)
- Specified by:
addChannelDefinitionin interfaceEventDeploymentBuilder
-
name
public EventDeploymentBuilder name(String name)
- Specified by:
namein interfaceEventDeploymentBuilder
-
category
public EventDeploymentBuilder category(String category)
- Specified by:
categoryin interfaceEventDeploymentBuilder
-
tenantId
public EventDeploymentBuilder tenantId(String tenantId)
- Specified by:
tenantIdin interfaceEventDeploymentBuilder
-
parentDeploymentId
public EventDeploymentBuilder parentDeploymentId(String parentDeploymentId)
- Specified by:
parentDeploymentIdin interfaceEventDeploymentBuilder
-
enableDuplicateFiltering
public EventDeploymentBuilder enableDuplicateFiltering()
- Specified by:
enableDuplicateFilteringin interfaceEventDeploymentBuilder
-
deploy
public EventDeployment deploy()
- Specified by:
deployin interfaceEventDeploymentBuilder
-
getDeployment
public EventDeploymentEntity getDeployment()
-
isDuplicateFilterEnabled
public boolean isDuplicateFilterEnabled()
-
-