Package cdc.issues.impl
Class ProfileImpl
java.lang.Object
cdc.issues.impl.ProfileImpl
- All Implemented Interfaces:
LabelsItem,MetasItem,Profile
@Deprecated(since="2025-03-25",
forRemoval=true)
public class ProfileImpl
extends Object
implements Profile
Deprecated, for removal: This API element is subject to removal in a future version.
Default implementation of
Profile.- Author:
- Damien Carbonne
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProfileImpl(ProfileImpl.Builder builder) Deprecated, for removal: This API element is subject to removal in a future version.ProfileImpl(String name) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.addIfMissing(Rule rule) Deprecated, for removal: This API element is subject to removal in a future version.apply(ProfileConfig profileConfig) Deprecated, for removal: This API element is subject to removal in a future version.static ProfileImpl.Builderbuilder()Deprecated, for removal: This API element is subject to removal in a future version.getConfiguredRule(Rule rule) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getMetas()Deprecated, for removal: This API element is subject to removal in a future version.getName()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getRules()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.setAllEnabled(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.setConfig(RuleId ruleId, RuleConfig config) Deprecated, for removal: This API element is subject to removal in a future version.setConfig(Rule rule, RuleConfig config) Deprecated, for removal: This API element is subject to removal in a future version.setCustomizedSeverity(RuleId ruleId, IssueSeverity customizedSeverity) Deprecated, for removal: This API element is subject to removal in a future version.setCustomizedSeverity(Rule rule, IssueSeverity customizedSeverity) Deprecated, for removal: This API element is subject to removal in a future version.setDescription(String description) Deprecated, for removal: This API element is subject to removal in a future version.setEnabled(RuleId ruleId, boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.setEnabled(Rule rule, boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Enables or disables a rule.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cdc.issues.rules.Profile
getCustomizedSeverity, getEffectiveSeverity, getEnabledRules, getParams, getRuleConfig, isEnabled
-
Constructor Details
-
ProfileImpl
Deprecated, for removal: This API element is subject to removal in a future version. -
ProfileImpl
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setName
Deprecated, for removal: This API element is subject to removal in a future version. -
setDescription
@Deprecated(since="2025-01-25", forRemoval=true) public ProfileImpl setDescription(String description) Deprecated, for removal: This API element is subject to removal in a future version. -
setMetas
Deprecated, for removal: This API element is subject to removal in a future version. -
setLabels
Deprecated, for removal: This API element is subject to removal in a future version. -
getName
Deprecated, for removal: This API element is subject to removal in a future version. -
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDescriptionin interfaceProfile
-
getMetas
Deprecated, for removal: This API element is subject to removal in a future version. -
getLabels
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLabelsin interfaceLabelsItem
-
getRule
Deprecated, for removal: This API element is subject to removal in a future version. -
add
Deprecated, for removal: This API element is subject to removal in a future version.Adds a rule if it is not already added.- Parameters:
rule- The rule.- Returns:
- This profile.
- Throws:
IllegalArgumentException- Whenruleisnullor another rule with same id is already registered.
-
addIfMissing
Deprecated, for removal: This API element is subject to removal in a future version.Adds a rule if it is not already added.- Parameters:
rule- The rule.- Returns:
- This profile.
- Throws:
IllegalArgumentException- Whenruleisnull.
-
setConfig
Deprecated, for removal: This API element is subject to removal in a future version. -
setConfig
Deprecated, for removal: This API element is subject to removal in a future version. -
remove
Deprecated, for removal: This API element is subject to removal in a future version.Removes a rule.- Parameters:
rule- The rule.- Returns:
- This object.
-
setAllEnabled
Deprecated, for removal: This API element is subject to removal in a future version. -
setEnabled
Deprecated, for removal: This API element is subject to removal in a future version.Enables or disables a rule.If the rule is not declared, declares it.
- Parameters:
rule- The rule.enabled-trueif the rule must be enabled.- Returns:
- This object.
-
setEnabled
Deprecated, for removal: This API element is subject to removal in a future version. -
setCustomizedSeverity
Deprecated, for removal: This API element is subject to removal in a future version. -
setCustomizedSeverity
Deprecated, for removal: This API element is subject to removal in a future version. -
setParams
Deprecated, for removal: This API element is subject to removal in a future version. -
setParams
Deprecated, for removal: This API element is subject to removal in a future version. -
apply
Deprecated, for removal: This API element is subject to removal in a future version. -
getRules
Deprecated, for removal: This API element is subject to removal in a future version. -
hasRule
Deprecated, for removal: This API element is subject to removal in a future version. -
getProfileConfig
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getProfileConfigin interfaceProfile
-
hasRule
Deprecated, for removal: This API element is subject to removal in a future version. -
getConfiguredRule
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getConfiguredRulein interfaceProfile
-
builder
Deprecated, for removal: This API element is subject to removal in a future version.
-
Profile.builder()