Class FormRecordMessagePostedEventBuilder
java.lang.Object
de.xima.fc.workflow.event.FormRecordMessagePostedEventBuilder
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IFormRecordMessagePostedEvent>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Clockprotected final Vorgangprotected IFormRecordLockContextprotected Localeprotected IUserprotected List<IWorkflowExecutionPostProcessor> -
Constructor Summary
ConstructorsConstructorDescriptionFormRecordMessagePostedEventBuilder(Vorgang formRecord, FormRecordMessage message) -
Method Summary
Modifier and TypeMethodDescriptionaddWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor) build()chat(FormRecordChat chat) Sets the chat containing the posted message.formRecordLockContext(IFormRecordLockContext formRecordLockContext) protected FormRecordMessagePostedEventBuildergetThis()Deprecated.workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
Field Details
-
anonymize
-
clock
-
formRecord
-
formRecordLockContext
-
locale
-
user
-
workflowExecutionPostProcessors
-
-
Constructor Details
-
FormRecordMessagePostedEventBuilder
-
-
Method Details
-
build
-
chat
Sets the chat containing the posted message. When not set explicitly, the chat is resolved from the message. This may fail when the chat's data are loaded lazily and no database connection is active anymore.- Parameters:
chat- The chat containing the posted message.- Returns:
- This builder for chaining methods calls.
-
getThis
-
addWorkflowExecutionPostProcessor
@CanIgnoreReturnValue public FormRecordMessagePostedEventBuilder addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor) -
anonymize
-
clock
-
formRecordLockContext
@CanIgnoreReturnValue public FormRecordMessagePostedEventBuilder formRecordLockContext(IFormRecordLockContext formRecordLockContext) -
locale
-
user
-
workflowExecutionPostProcessors
@CanIgnoreReturnValue public FormRecordMessagePostedEventBuilder workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors) -
user
Deprecated.
-