Package de.xima.fc.workflow.event
Class ASpecificTriggerWithFormRecordEventDataBuilder<Event extends IFormRecordProvidingEvent,Self>
- java.lang.Object
-
- de.xima.fc.workflow.event.ASpecificTriggerWithFormRecordEventDataBuilder<Event,Self>
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<Event>
- Direct Known Subclasses:
SpecificTriggerEventDataBuilder,UserInvocationEventDataBuilder
public abstract class ASpecificTriggerWithFormRecordEventDataBuilder<Event extends IFormRecordProvidingEvent,Self> extends Object
Base builder for the event data for running a specific trigger, specified by its ID, that also require a form record.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classASpecificTriggerWithFormRecordEventDataBuilder.ASpecificDataEvent data for running a specific trigger, specified by its ID.
-
Field Summary
Fields Modifier and Type Field Description protected Booleananonymizeprotected Clockclockprotected VorgangformRecordprotected IFormRecordLockContextformRecordLockContextprotected Localelocaleprotected IUseruserprotected List<IWorkflowExecutionPostProcessor>workflowExecutionPostProcessors
-
Constructor Summary
Constructors Modifier Constructor Description protectedASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SelfaddWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)Selfanonymize(Boolean anonymize)Selfclient(Mandant client)Selfclock(Clock clock)SelfformRecordLockContext(IFormRecordLockContext formRecordLockContext)protected abstract SelfgetThis()Selflocale(Locale locale)Selfproject(Projekt project)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
-
-
Constructor Detail
-
ASpecificTriggerWithFormRecordEventDataBuilder
protected ASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
-
-
Method Detail
-
client
public Self client(Mandant client)
- Parameters:
client- The client that owns the submitted form. When not set explicitly, the client is taken from the form.- Returns:
- This builder instance for chaining method calls.
-
project
public Self project(Projekt project)
- Parameters:
project- The project of the form record. When not specified explicitly, retrieves the project from the form record.- Returns:
- This builder for chaining method calls.
-
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.
-
getThis
protected abstract Self getThis()
-
-