Options
All
  • Public
  • Public/Protected
  • All
Menu

Builder for a GdprManager

export

Hierarchy

Index

Constructors

Properties

bannerWasShown: boolean
groups: GdprGuardGroup[]
storage: GdprStorage

Methods

  • Build the manager from the current builder state

    memberof

    GdprManagerBuilder

    Returns GdprManager

  • End this group's creation (no-op for manager builders)

    memberof

    GdprManagerBuilder

    Returns GdprManagerBuilder

  • Start a new disabled group

    memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage
    • Optional name: string
    • Optional description: string

    Returns GdprGroupBuilder

  • Start a new enabled group

    memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage
    • Optional name: string
    • Optional description: string

    Returns GdprGroupBuilder

  • Start a new group

    memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage
    • Optional name: string
    • Optional description: string
    • Optional enabled: boolean

    Returns GdprGroupBuilder

  • Start a new group as required

    memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage
    • Optional name: string
    • Optional description: string

    Returns GdprGroupBuilder

  • withBannerShown(wasShown?: boolean): void
  • Parameters

    • Optional wasShown: boolean

    Returns void

  • Factory for a builder

    static
    memberof

    GdprManagerBuilder

    Returns GdprManagerBuilder