Package de.xima.fc.workflow.event
Class InvitationErrorEventDataBuilder
- java.lang.Object
-
- de.xima.fc.workflow.event.InvitationErrorEventDataBuilder
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IInvitationErrorEventData>
public class InvitationErrorEventDataBuilder extends Object
Builder for the event data for a form record invitation error event, i.e. when an error occurred while trying to send an invitation to a form record. Create an instance via the methods ofWorkflowEventDataFactory.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description protected Booleananonymizeprotected Clockclockprotected VorgangformRecordprotected IFormRecordLockContextformRecordLockContextprotected Localelocaleprotected IUseruserprotected List<IWorkflowExecutionPostProcessor>workflowExecutionPostProcessors
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SelfaddWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)Selfanonymize(Boolean anonymize)IInvitationErrorEventDatabuild()Selfclock(Clock clock)SelfformRecordLockContext(IFormRecordLockContext formRecordLockContext)protected InvitationErrorEventDataBuildergetThis()Selflocale(Locale locale)InvitationErrorEventDataBuildermailTo(String mailTo)Selfuser(Benutzer user)Deprecated.Selfuser(IUser user)SelfworkflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
-
-
Field Detail
-
anonymize
protected Boolean anonymize
-
clock
protected Clock clock
-
formRecord
protected final Vorgang formRecord
-
formRecordLockContext
protected IFormRecordLockContext formRecordLockContext
-
locale
protected Locale locale
-
user
protected IUser user
-
workflowExecutionPostProcessors
protected List<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors
-
-
Method Detail
-
build
public IInvitationErrorEventData build()
-
mailTo
public InvitationErrorEventDataBuilder mailTo(String mailTo)
- Parameters:
mailTo- The email address to which the invitation was sent, if any.- Returns:
- This builder for chaining methods calls.
-
getThis
protected InvitationErrorEventDataBuilder getThis()
-
addWorkflowExecutionPostProcessor
@CanIgnoreReturnValue public Self addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
-
anonymize
@CanIgnoreReturnValue public Self anonymize(Boolean anonymize)
-
clock
@CanIgnoreReturnValue public Self clock(Clock clock)
-
formRecordLockContext
@CanIgnoreReturnValue public Self formRecordLockContext(IFormRecordLockContext formRecordLockContext)
-
locale
@CanIgnoreReturnValue public Self locale(Locale locale)
-
user
@CanIgnoreReturnValue public Self user(IUser user)
-
workflowExecutionPostProcessors
@CanIgnoreReturnValue public Self workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
user
@Deprecated @CanIgnoreReturnValue public Self user(Benutzer user)
Deprecated.
-
-