Class PopulateConsentContext

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class PopulateConsentContext
extends AbstractConsentAction
Consent action which populates the current consents of a consent context with the output value of a function whose input value is a profile request context.
Event:
EventIds.PROCEED_EVENT_ID
Postcondition:
See above.
  • Field Details

  • Constructor Details

    • PopulateConsentContext

      public PopulateConsentContext​(@Nonnull Function<ProfileRequestContext,​Map<String,​Consent>> currentConsentsFunction)
      Constructor.
      Parameters:
      currentConsentsFunction - function which returns the current consents
  • Method Details