namespace sap.ui.support.RuleSet

Control sample: sap.ui.support.RuleSet
Visiblity: public
Available since: N/A
Module: sap/ui/support/supportRules/RuleSet
Application Component:

Creates a RuleSet. The RuleSet can store multiple rules concerning namespaces.

Usage

The RuleSet is an interface used to create, update and delete rulesets.


Nodes Overview

Node Description

Methods Overview

Method Description
sap.ui.support.RuleSet.addRule

Adds rules to RuleSet.

sap.ui.support.RuleSet.clearAllRuleSets

Clears all rulesets inside the RuleSet.

sap.ui.support.RuleSet.getRules

Gets all rules from the RuleSet.

sap.ui.support.RuleSet.loadSelectionOfRules

Loads the previous selection of the user - which rules are selected to be run by the Rule Analyzer. The method applies the settings to the currently loaded rules.

sap.ui.support.RuleSet.removeRule

Remove rule from RuleSet.

sap.ui.support.RuleSet.storeSelectionOfRules

Stores which rules are selected to be run by the analyzer on the next check

sap.ui.support.RuleSet.updateRule

Updates rules from the RuleSet.

sap.ui.support.RuleSet.addRule

Adds rules to RuleSet.

Param Type DefaultValue Description
oSettings object

Settings object with rule information

sap.ui.support.RuleSet.clearAllRuleSets

Clears all rulesets inside the RuleSet.

Param Type DefaultValue Description

sap.ui.support.RuleSet.getRules

Gets all rules from the RuleSet.

Param Type DefaultValue Description

sap.ui.support.RuleSet.loadSelectionOfRules

Loads the previous selection of the user - which rules are selected to be run by the Rule Analyzer. The method applies the settings to the currently loaded rules.

Param Type DefaultValue Description
aLibraries Object[]

The current loaded libraries and their rules

sap.ui.support.RuleSet.removeRule

Remove rule from RuleSet.

Param Type DefaultValue Description
oRule object

Rule object that will be removed

sap.ui.support.RuleSet.storeSelectionOfRules

Stores which rules are selected to be run by the analyzer on the next check

Param Type DefaultValue Description
aLibraries Object[]

The data for the libraries and their rules

sap.ui.support.RuleSet.updateRule

Updates rules from the RuleSet.

Param Type DefaultValue Description
sRuleId string

Rule ID

ORuleSettings object

Rule settings