Package de.xima.fc.workflow.event
Class SpecificTriggerEventDataBuilder
- java.lang.Object
-
- de.xima.fc.workflow.event.ASpecificTriggerWithFormRecordEventDataBuilder<IFormRecordProvidingEvent,SpecificTriggerEventDataBuilder>
-
- de.xima.fc.workflow.event.SpecificTriggerEventDataBuilder
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IFormRecordProvidingEvent>
public class SpecificTriggerEventDataBuilder extends ASpecificTriggerWithFormRecordEventDataBuilder<IFormRecordProvidingEvent,SpecificTriggerEventDataBuilder>
Builder for the event data for running a specific trigger, specified by its ID. This is used, for example, by timed or manual triggers.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.workflow.event.ASpecificTriggerWithFormRecordEventDataBuilder
ASpecificTriggerWithFormRecordEventDataBuilder.ASpecificData
-
-
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
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Self
addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
Self
anonymize(Boolean anonymize)
IFormRecordProvidingEvent
build()
SpecificTriggerEventDataBuilder
client(Mandant client)
Self
clock(Clock clock)
Self
formRecordLockContext(IFormRecordLockContext formRecordLockContext)
protected SpecificTriggerEventDataBuilder
getThis()
Self
locale(Locale locale)
SpecificTriggerEventDataBuilder
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
-
-
Method Detail
-
build
public IFormRecordProvidingEvent build()
-
client
public SpecificTriggerEventDataBuilder client(Mandant client)
- Overrides:
client
in classASpecificTriggerWithFormRecordEventDataBuilder<IFormRecordProvidingEvent,SpecificTriggerEventDataBuilder>
- 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 SpecificTriggerEventDataBuilder project(Projekt project)
- Overrides:
project
in classASpecificTriggerWithFormRecordEventDataBuilder<IFormRecordProvidingEvent,SpecificTriggerEventDataBuilder>
- 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.
-
getThis
protected SpecificTriggerEventDataBuilder 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.
-
-