public class MockStatisticalRule extends FooRule implements StatisticalRule
propertyDescriptors, propertyValuesByDescriptor
MINIMUM_DESCRIPTOR, SIGMA_DESCRIPTOR, TOP_SCORE_DESCRIPTOR
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR
Constructor and Description |
---|
MockStatisticalRule() |
Modifier and Type | Method and Description |
---|---|
void |
addDataPoint(DataPoint point) |
void |
apply(List<? extends Node> nodes,
RuleContext ctx) |
String |
getName() |
Object[] |
getViolationParameters(DataPoint point) |
apply, getDescription, getMessage, getRuleSetName
addExample, addRuleChainVisit, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, addViolationWithMessage, addViolationWithMessage, deepCopyValuesTo, end, equals, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMinimumLanguageVersion, getParserOptions, getPriority, getRuleChainVisits, getRuleClass, getSince, hashCode, isDeprecated, setDeprecated, setDescription, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setName, setPriority, setRuleClass, setRuleSetName, setSince, setUsesDFA, setUsesTypeResolution, start, usesDFA, usesRuleChain, usesTypeResolution
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addExample, addRuleChainVisit, addRuleChainVisit, end, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getParserOptions, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, isDeprecated, setDeprecated, setDescription, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setName, setPriority, setRuleClass, setRuleSetName, setSince, setUsesDFA, setUsesTypeResolution, start, usesDFA, usesRuleChain, usesTypeResolution
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
public String getName()
public void apply(List<? extends Node> nodes, RuleContext ctx)
public void addDataPoint(DataPoint point)
addDataPoint
in interface StatisticalRule
public Object[] getViolationParameters(DataPoint point)
getViolationParameters
in interface StatisticalRule
Copyright © 2002–2016 InfoEther. All rights reserved.