protected static class ZoneTraitDescriptor.IpAddressPredicate
extends java.lang.Object
implements com.google.common.base.Predicate<java.lang.Object>
a pattern of 10.20.5.*,10.22.*.* will return true for 10.20.5.200
You can also specify a range in an address subnet. This predicate will check each subnet in the input address, and return true only if all subnets are within the range in a pattern address. Example:
10.20.5.0-220,10.20.6.0-9 will return true for 10.20.5.200
Constructor and Description |
---|
IpAddressPredicate(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(java.lang.Object input) |