Package org.jppf.node.policy
Class IsInIPv6Subnet
- All Implemented Interfaces:
Serializable
An execution policy rule that encapsulates a test of type IPv6 is in Subnet string.
This policy has the following XML representation:
<IsInIPv6Subnet> <Subnet>subnet-1</Subnet> ... <Subnet>subnet-N</Subnet> </IsInIPv6Subnet>where each subnet-i is a subnet expressed either in CIDR notation or in the representation described in
IPv6AddressPattern.- Since:
- 4.2
- Author:
- Daniel Widdis
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jppf.node.policy.ExecutionPolicy
ExecutionPolicy.AndRule, ExecutionPolicy.NotRule, ExecutionPolicy.OrRule, ExecutionPolicy.XorRule -
Field Summary
Fields inherited from class org.jppf.node.policy.ExecutionPolicy
children -
Constructor Summary
ConstructorsConstructorDescriptionIsInIPv6Subnet(String... subnets) Define a membership test using ipv6.addresses property to determine if a node or driver is in one of the specified subnets.IsInIPv6Subnet(Collection<String> subnets) Define a membership test using ipv6.addresses property to determine if a node is in one of the specified subnets. -
Method Summary
Methods inherited from class org.jppf.node.policy.AbstractIsInIPSubnet
accepts, toStringMethods inherited from class org.jppf.node.policy.ExecutionPolicy
and, and, andNot, andNot, checkRules, evaluate, getChildren, getContext, getProperty, indent, negate, not, Not, or, or, orNot, orNot, setContext, setContext, tagEnd, tagStart, toString, toXML, xmlElement, xmlElement, xor, xor
-
Constructor Details
-
IsInIPv6Subnet
Define a membership test using ipv6.addresses property to determine if a node or driver is in one of the specified subnets.- Parameters:
subnets- One or more strings representing either a valid IPv6 subnet in CIDR notation or IP address range pattern without double colons ("::") as defined inIPv6AddressPattern
-
IsInIPv6Subnet
Define a membership test using ipv6.addresses property to determine if a node is in one of the specified subnets.- Parameters:
subnets- One or more strings representing either a valid IPv6 subnet in CIDR notation or IP address range pattern without double colons ("::") as defined inIPv6AddressPattern
-