PolyGenius
Contents

RuleRegistry

Rule Registry

Internal registry of reactive rules.

Details

Rule registry

Public fields

rules — List of Rule objects

Methods

Public methods

  • RuleRegistry$new()
  • RuleRegistry$register()
  • RuleRegistry$match()
  • RuleRegistry$print()
  • RuleRegistry$clone()

Method new()

Create an empty rule registry.

Usage

RuleRegistry$new()

Method register()

Register a rule

Usage

RuleRegistry$register(rule)

Arguments

rule — Rule

Method match()

Find rules that match an output

Usage

RuleRegistry$match(output.spec)

Arguments

output.spec — ResourceSpec

Returns

List of Rule

Method print()

Print registry overview

Usage

RuleRegistry$print(...)

Arguments

... — Unused

Method clone()

The objects of this class are cloneable with this method.

Usage

RuleRegistry$clone(deep = FALSE)

Arguments

deep — Whether to make a deep clone.

See Also