public class CustomAttributes extends Object
| Constructor and Description |
|---|
CustomAttributes() |
| Modifier and Type | Method and Description |
|---|---|
CustomAttributes |
addRulesItem(CustomAttributesRule rulesItem) |
boolean |
equals(Object o) |
String |
getAttribute()
配置项属性,severity:为问题级别
|
List<CustomAttributesRule> |
getRules()
规则详细
|
int |
hashCode() |
void |
setAttribute(String attribute) |
void |
setRules(List<CustomAttributesRule> rules) |
String |
toString() |
CustomAttributes |
withAttribute(String attribute) |
CustomAttributes |
withRules(java.util.function.Consumer<List<CustomAttributesRule>> rulesSetter) |
CustomAttributes |
withRules(List<CustomAttributesRule> rules) |
public CustomAttributes withAttribute(String attribute)
public String getAttribute()
public void setAttribute(String attribute)
public CustomAttributes withRules(List<CustomAttributesRule> rules)
public CustomAttributes addRulesItem(CustomAttributesRule rulesItem)
public CustomAttributes withRules(java.util.function.Consumer<List<CustomAttributesRule>> rulesSetter)
public List<CustomAttributesRule> getRules()
public void setRules(List<CustomAttributesRule> rules)
Copyright © 2022. All rights reserved.