Options
All
  • Public
  • Public/Protected
  • All
Menu

Builder for a gdpr group

export

Hierarchy

Index

Properties

bannerWasShown: boolean
description: string
enable: boolean
groups: GdprGuardGroup[]
guards: GdprGuard[]
name: string
require: boolean
storage: GdprStorage

Methods

  • Build the manager from the current builder state

    memberof

    GdprManagerBuilder

    Returns GdprManager

  • Mark as disabled

    memberof

    GdprGroupBuilder

    Returns GdprGroupBuilder

  • Mark as enabled

    memberof

    GdprGroupBuilder

    Returns GdprGroupBuilder

  • Mark as required

    memberof

    GdprGroupBuilder

    Returns GdprGroupBuilder

  • Start adding a guard

    memberof

    GdprGroupBuilder

    Parameters

    Returns GdprGuardBuilder

  • Start adding a required guard

    memberof

    GdprGroupBuilder

    Parameters

    Returns GdprGuardBuilder

  • Set the storage of the group

    memberof

    GdprGroupBuilder

    Parameters

    Returns GdprGroupBuilder

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

    • Optional wasShown: boolean

    Returns void

  • Set the description of the group

    memberof

    GdprGroupBuilder

    Parameters

    • description: string

      The new description for the group

    Returns GdprGroupBuilder

  • Add a disabled guard

    memberof

    GdprGroupBuilder

    Parameters

    • name: string

      The name of the guard

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

    Returns GdprGroupBuilder

  • Add an enabled guard

    memberof

    GdprGroupBuilder

    Parameters

    • name: string

      The name of the guard

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

    Returns GdprGroupBuilder

  • Set the name of the group

    memberof

    GdprGroupBuilder

    Parameters

    • name: string

      The new name for the group

    Returns GdprGroupBuilder

  • Factory for a group builder

    static
    memberof

    GdprGroupBuilder

    Parameters

    • mb: GdprManagerBuilder

      The parent manager builder

    • name: string

      The name of the group

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

    Returns GdprGroupBuilder