Class IpValue
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.internal.value.IpValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IpRange>
getIpAddressRanges()
boolean
isInRange(IpAddr address)
static IpValue
of(String input)
static IpValue
of(StringValue input)
static IpRange
parseCIDR(String cidr)
IpValue
shrink(Bound<IpAddr> bound)
Shrinks this rule value by removing those parts that are already covered by the given bound.
-
-
-
Method Detail
-
of
public static IpValue of(StringValue input)
-
isInRange
public boolean isInRange(IpAddr address)
-
shrink
public IpValue shrink(Bound<IpAddr> bound)
Description copied from interface:RuleValue
Shrinks this rule value by removing those parts that are already covered by the given bound.The given bounds result from thresholds along paths in the decision tree. During classification those parts that are covered by these threshold need not to be checked again.
-
-