Package com.flowable.engage.engine.impl
Class ConversationDefinitionRegistrationBuilderImpl
java.lang.Object
com.flowable.engage.engine.impl.ConversationDefinitionRegistrationBuilderImpl
- All Implemented Interfaces:
 ConversationDefinitionRegistrationBuilder
public class ConversationDefinitionRegistrationBuilderImpl
extends Object
implements ConversationDefinitionRegistrationBuilder
- Author:
 - Tijs Rademakers
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<ConversationDefinitionRegistrationObject>protected final ConversationDefinitionServiceImplprotected final com.fasterxml.jackson.databind.ObjectMapperprotected String - 
Constructor Summary
ConstructorsConstructorDescriptionConversationDefinitionRegistrationBuilderImpl(ConversationDefinitionServiceImpl conversationDefinitionService, CommandContext commandContext)  - 
Method Summary
Modifier and TypeMethodDescriptionaddInputStream(String resourceName, InputStream inputStream) Register the static conversation definitions defined in theinputStreamwith aresourceNamevoidaddModelObject(com.fasterxml.jackson.databind.JsonNode modelNode) register()Perform the registration of all registered definitions within the resourcesRegister the converations definitions with the giventenantId 
- 
Field Details
- 
conversationDefinitionService
 - 
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper - 
conversationDefinitionModels
 - 
tenantId
 
 - 
 - 
Constructor Details
- 
ConversationDefinitionRegistrationBuilderImpl
public ConversationDefinitionRegistrationBuilderImpl(ConversationDefinitionServiceImpl conversationDefinitionService, CommandContext commandContext)  
 - 
 - 
Method Details
- 
addInputStream
public ConversationDefinitionRegistrationBuilder addInputStream(String resourceName, InputStream inputStream) Description copied from interface:ConversationDefinitionRegistrationBuilderRegister the static conversation definitions defined in theinputStreamwith aresourceName- Specified by:
 addInputStreamin interfaceConversationDefinitionRegistrationBuilder- Parameters:
 resourceName- the name of the resourceinputStream- the stream containing the conversation definition schema- Returns:
 - the builder for chaining
 
 - 
addModelObject
- Throws:
 IOException
 - 
tenantId
Description copied from interface:ConversationDefinitionRegistrationBuilderRegister the converations definitions with the giventenantId- Specified by:
 tenantIdin interfaceConversationDefinitionRegistrationBuilder- Parameters:
 tenantId- the tenant id for the definitions
 - 
register
Description copied from interface:ConversationDefinitionRegistrationBuilderPerform the registration of all registered definitions within the resources- Specified by:
 registerin interfaceConversationDefinitionRegistrationBuilder- Returns:
 - the list of all registered 
ConversationDefinition(s) 
 - 
getConversationDefinitionModels
 - 
getTenantId
 
 -