Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GoalSetterMapping<P>

PushRule implementation exposed in DSL. Continues fluent API.

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private goalsName

goalsName: string

Protected guard1

guard1: PushTest

Protected guards

guards: PushTest[]

Readonly pushTest

pushTest: PushTest

The test for this rule

Accessors

label

  • get label(): string

name

  • get name(): string

test

value

Methods

itMeans

  • itMeans(reason: string): this

mapping

set

  • set(value: Goals): this

setGoals

setGoalsWhen

setNoMoreGoals

  • setNoMoreGoals(name?: string): void
  • Prevent setting any further goals on this push. Ordering matters: goals may previously have been set.

    Parameters

    • Optional name: string

      name of the empty Goals. Default is "No Goals"

    Returns void

Generated using TypeDoc