public class Rule extends Object implements Serializable
Constructor and Description |
---|
Rule(String ruleID,
int ruleTotalViolations) |
Rule(String ruleID,
Map<String,Integer> messages) |
Modifier and Type | Method and Description |
---|---|
static int |
calc(Map<String,Integer> map) |
boolean |
equals(Object obj) |
Map<String,Integer> |
getMessages() |
String |
getRuleID() |
int |
getRuleNumber()
Returns the rule ID of the current Rule to be able to compare against a threshold.
|
int |
getRuleTotalViolations() |
int |
hashCode() |
public Rule(String ruleID, int ruleTotalViolations)
public String getRuleID()
public int getRuleNumber()
public int getRuleTotalViolations()
Copyright © 2016–2022. All rights reserved.