Class PreprocessedRule
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.internal.decision.PreprocessedRule
-
public class PreprocessedRule extends Object
Bundles a rule with derived information. Improves tree construction performance.
-
-
Field Summary
Fields Modifier and Type Field Description IpValue
dstAddr
PortValue
dstPort
ProtocolValue
protocol
RuleDefinition
ruleDefinition
IpValue
srcAddr
PortValue
srcPort
Set<Threshold>
thresholds
-
Constructor Summary
Constructors Constructor Description PreprocessedRule(RuleDefinition ruleDefinition, ProtocolValue protocol, PortValue srcPort, PortValue dstPort, IpValue srcAddr, IpValue dstAddr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Classifier
createClassifier(FilterService filterService, Bounds bounds)
static PreprocessedRule
of(RuleDefinition rule)
PreprocessedRule
reverse()
-
-
-
Field Detail
-
ruleDefinition
public final RuleDefinition ruleDefinition
-
protocol
public final ProtocolValue protocol
-
srcPort
public final PortValue srcPort
-
dstPort
public final PortValue dstPort
-
srcAddr
public final IpValue srcAddr
-
dstAddr
public final IpValue dstAddr
-
-
Constructor Detail
-
PreprocessedRule
public PreprocessedRule(RuleDefinition ruleDefinition, ProtocolValue protocol, PortValue srcPort, PortValue dstPort, IpValue srcAddr, IpValue dstAddr)
-
-
Method Detail
-
of
public static PreprocessedRule of(RuleDefinition rule)
-
createClassifier
public Classifier createClassifier(FilterService filterService, Bounds bounds)
-
reverse
public PreprocessedRule reverse()
-
-