public abstract class Auditor
extends java.lang.Object
| Constructor and Description |
|---|
Auditor() |
| Modifier and Type | Method and Description |
|---|---|
RuleStatus |
getRuleStatus(java.lang.String name)
Gets the status of the rule with the given name.
|
java.util.Map<java.lang.String,RuleStatus> |
getRuleStatusMap()
Gets a map of each rule name with its associated status.
|
void |
registerRule(Auditable rule)
Registers a rule to be audited.
|
void |
updateRuleStatus(Auditable rule,
RuleStatus status)
Updates the status of the rule & stores the status with the Auditor.
|
public void registerRule(Auditable rule)
rule - and Auditable rulepublic void updateRuleStatus(Auditable rule, RuleStatus status)
rule - the rule in questionstatus - the status of the rulepublic RuleStatus getRuleStatus(java.lang.String name)
name - the name of the rulepublic java.util.Map<java.lang.String,RuleStatus> getRuleStatusMap()