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 class
ASpecificTriggerWithFormRecordEventDataBuilder.ASpecificData
Event data for running a specific trigger, specified by its ID.
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
anonymize
protected Clock
clock
protected Vorgang
formRecord
protected IFormRecordLockContext
formRecordLockContext
protected Locale
locale
protected IUser
user
protected List<IWorkflowExecutionPostProcessor>
workflowExecutionPostProcessors
-
Constructor Summary
Constructors Modifier Constructor Description protected
ASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Self
addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
Self
anonymize(Boolean anonymize)
Self
client(Mandant client)
Self
clock(Clock clock)
Self
formRecordLockContext(IFormRecordLockContext formRecordLockContext)
protected abstract Self
getThis()
Self
locale(Locale locale)
Self
project(Projekt project)
Self
user(Benutzer user)
Deprecated.Self
user(IUser user)
Self
workflowExecutionPostProcessors(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()
-
-