Package com.flowable.engage.api
Interface ConversationDefinitionRegistrationBuilder
- All Known Implementing Classes:
ConversationDefinitionRegistrationBuilderImpl
public interface ConversationDefinitionRegistrationBuilder
Builder for bulk registration of Conversation Definitions.
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and Type Method Description ConversationDefinitionRegistrationBuilder
addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)
Register the static conversation definitions defined in theinputStream
with aresourceName
java.util.List<ConversationDefinition>
register()
Perform the registration of all registered definitions within the resourcesConversationDefinitionRegistrationBuilder
tenantId(java.lang.String tenantId)
Register the converations definitions with the giventenantId
-
Method Details
-
addInputStream
ConversationDefinitionRegistrationBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)Register the static conversation definitions defined in theinputStream
with aresourceName
- Parameters:
resourceName
- the name of the resourceinputStream
- the stream containing the conversation definition schema- Returns:
- the builder for chaining
-
tenantId
Register the converations definitions with the giventenantId
- Parameters:
tenantId
- the tenant id for the definitions
-
register
java.util.List<ConversationDefinition> register()Perform the registration of all registered definitions within the resources- Returns:
- the list of all registered
ConversationDefinition
(s)
-