Package de.xima.fc.workflow.event
Class SpecificTriggerEventDataBuilder
- java.lang.Object
-
- de.xima.fc.workflow.event.SpecificTriggerEventDataBuilder
-
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<IFormRecordProvidingEvent>
public class SpecificTriggerEventDataBuilder extends Object
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
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
anonymize
protected Vorgang
formRecord
protected IFormRecordLockContext
formRecordLockContext
protected Locale
locale
protected Benutzer
user
protected List<IWorkflowExecutionPostProcessor>
workflowExecutionPostProcessors
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TThis
addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
TThis
anonymize(Boolean anonymize)
IFormRecordProvidingEvent
build()
SpecificTriggerEventDataBuilder
client(Mandant client)
TThis
formRecordLockContext(IFormRecordLockContext formRecordLockContext)
protected SpecificTriggerEventDataBuilder
getThis()
TThis
locale(Locale locale)
SpecificTriggerEventDataBuilder
project(Projekt project)
TThis
user(Benutzer user)
TThis
workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
-
-
Field Detail
-
anonymize
protected Boolean anonymize
-
formRecord
protected final Vorgang formRecord
-
formRecordLockContext
protected IFormRecordLockContext formRecordLockContext
-
locale
protected Locale locale
-
user
protected Benutzer user
-
workflowExecutionPostProcessors
protected List<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors
-
-
Method Detail
-
build
public IFormRecordProvidingEvent build()
-
client
public SpecificTriggerEventDataBuilder 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 SpecificTriggerEventDataBuilder 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.
-
getThis
protected SpecificTriggerEventDataBuilder getThis()
-
addWorkflowExecutionPostProcessor
public TThis addWorkflowExecutionPostProcessor(IWorkflowExecutionPostProcessor workflowExecutionPostProcessor)
-
anonymize
public TThis anonymize(Boolean anonymize)
-
formRecordLockContext
public TThis formRecordLockContext(IFormRecordLockContext formRecordLockContext)
-
locale
public TThis locale(Locale locale)
-
user
public TThis user(Benutzer user)
-
workflowExecutionPostProcessors
public TThis workflowExecutionPostProcessors(Iterable<IWorkflowExecutionPostProcessor> workflowExecutionPostProcessors)
-
-