Toggle navigation
Home
org.sonar.api.rules.ActiveRule to org.sonar.api.server.profile.BuiltInQualityProfilesDefinition.BuiltInActiveRule
No. of Instances - 9
No. of Commits - 1
No. of Projects - {'sonarqube'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
activeRule.getRepositoryKey()
to
activeRule.repoKey()
activeRule.getRuleKey()
to
activeRule.ruleKey()
firstNonNull(activeRule.getSeverity().name(),ruleDefinitionDto.getSeverityString())
to
firstNonNull(activeRule.overriddenSeverity(),ruleDefinitionDto.getSeverityString())
activeRule.getActiveRuleParams().stream()
to
activeRule.overriddenParams().stream()
MoreCollectors.uniqueIndex(ActiveRuleParam::getParamKey,ActiveRuleParam::getValue)
to
MoreCollectors.uniqueIndex(BuiltInQualityProfilesDefinition.OverriddenParam::key,BuiltInQualityProfilesDefinition.OverriddenParam::overriddenValue)
ar.getActiveRuleParams().stream()
to
ar.overriddenParams().stream()
MoreCollectors.uniqueIndex(ActiveRuleParam::getKey,ActiveRuleParam::getValue)
to
MoreCollectors.uniqueIndex(BuiltInQualityProfilesDefinition.OverriddenParam::key,BuiltInQualityProfilesDefinition.OverriddenParam::overriddenValue)
severity
to
ar.overriddenSeverity()
ar.getRule()
to
RuleKey