Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds all OutputModels of a single AggregatorSubscriptions.

Hierarchy

  • OutputSubcollection

Index

Constructors

constructor

Properties

Readonly id

id: string

Unique Id.

Private outputList

outputList: OutputModel[]

Internal datastructure for all Output Models.

Accessors

length

  • get length(): number
  • Returns the number of outputs that live in this subcollection, i.e. the number of all outputs an AggregatorSubscription has.

    Returns number

outputs

  • Returns a list of all outputs of this subcollection.

    Returns OutputModel[]

Methods

add

  • Adds an OutputModel to the end of this subcollection.

    Parameters

    Returns void

delete

  • delete(outputId: string): void
  • Removes an output from this subcollection.

    Parameters

    • outputId: string

      Unique Id of the output.

    Returns void

getById

  • Returns the output.

    Parameters

    • outputId: string

      Unique Id of the output.

    Returns undefined | OutputModel

    An OutputModel given it exists, undefined otherwise.

has

  • has(outputId: string): boolean
  • Checks if an OutputModel lives in this subcollection.

    Parameters

    • outputId: string

      Unique Id of the output.

    Returns boolean

    True if it exists, false otherwise.

update

  • Updates an output with new settings.

    Parameters

    • output: OutputModel

      An output that holds the new settings.

    Returns void

Generated using TypeDoc