Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a rule for associating IO sources with IO actors.

Hierarchy

  • IoAssociationRule

Index

Properties

condition

The rule condition function.

When applied, the condition function is passed a pair of value-compatible IO source and actor that are eligible for association.

The condition function should return true if the passed-in association pair should be associated; false or undefined otherwise.

Eventually, an association pair is associated if there is at least one applicable rule that returns true; otherwise the association pair is not associated, i.e. it is actively disassociated if currently associated.

name

name: string

The name of the rule. Used for display purposes only.

valueType

valueType: string

The value type for which the rule is applicable. The rule is applied to all IO source - IO actor pairs whose value type matches this value type.

If the value type is undefined or an empty string, the rule acts as a global rule. It applies to all IO source - IO actor pairs that have compatible value types. Non-global rules have precedence over global rules. Global rules only apply if there are no non-global rules whose value type matches the value type of the corresponding IO source - IO actor pair.

Generated using TypeDoc