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
  • Field Details

  • Constructor Details

    • ASpecificTriggerWithFormRecordEventDataBuilder

      protected ASpecificTriggerWithFormRecordEventDataBuilder(Vorgang formRecord, WorkflowTrigger trigger)
  • Method Details

    • 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()