Interface IConditionFactory

Creates instances of Conditions given an ConditionConfig. ConditionConfig.conditionType is used to determine the Condition class to create.

interface IConditionFactory {
    create(config): ICondition;
    register<TConfig>(conditionType, fn): void;
    findRealName(conditionType): null | string;
}

Implemented by

Methods

  • Helper to see if the conditionType value is registered even when its case is different or it has whitespace that needs trimming.

    Parameters

    • conditionType: string

    Returns null | string

    The real name of the conditionType or null if not found.

Generated using TypeDoc v0.25.12