RulesetManager Interface

Presentation ruleset registry.

Implemented by

  • RulesetManagerImpl

Methods

Name Description
add(ruleset: Ruleset): Promise<RegisteredRuleset> Register the supplied ruleset  
clear(): Promise<void> Remove all rulesets registered in this session.  
get(id: string): Promise<RegisteredRuleset | undefined> Get a ruleset with the specified id.  
remove(ruleset: RegisteredRuleset | [string, string]): Promise<boolean> Unregister the supplied ruleset  

Defined in

Last Updated: 10 September, 2019