RulesetVariablesManager Interface

Presentation ruleset variables' registry.

Implemented by

  • RulesetVariablesManagerImpl

Methods

Name Description
getBool(variableId: string): Promise<boolean> Retrieves boolean variable value.  
getId64(variableId: string): Promise<Id64String> Retrieves Id64String variable value.  
getId64s(variableId: string): Promise<Id64String[]> Retrieves Id64String[] variable value.  
getInt(variableId: string): Promise<number> Retrieves number variable value.  
getInts(variableId: string): Promise<number[]> Retrieves number[] variable value.  
getString(variableId: string): Promise<string> Retrieves string variable value.  
setBool(variableId: string, value: boolean): Promise<void> Sets boolean variable value  
setId64(variableId: string, value: Id64String): Promise<void> Sets Id64String variable value  
setId64s(variableId: string, value: Id64String[]): Promise<void> Sets Id64String[] variable value  
setInt(variableId: string, value: number): Promise<void> Sets number variable value  
setInts(variableId: string, value: number[]): Promise<void> Sets number[] variable value  
setString(variableId: string, value: string): Promise<void> Sets string variable value  

Defined in

Last Updated: 20 September, 2019