public enum IpVersionChoice extends Enum<IpVersionChoice>
| Modifier and Type | Field and Description | 
|---|---|
| int | choice | 
| Modifier and Type | Method and Description | 
|---|---|
| IpVersionChoice | addVersion(IpVersionChoice ipVers)used to get an association of ipv4 and/or ipv6 choice if it is possible. | 
| boolean | isIpVersionChosen(IpVersionChoice arg) | 
| static IpVersionChoice | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static IpVersionChoice[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final IpVersionChoice UNDEFINED
public static final IpVersionChoice IPV4
public static final IpVersionChoice IPV6
public static final IpVersionChoice IPV4AND6
public static IpVersionChoice[] values()
for (IpVersionChoice c : IpVersionChoice.values()) System.out.println(c);
public static IpVersionChoice valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isIpVersionChosen(IpVersionChoice arg)
public IpVersionChoice addVersion(IpVersionChoice ipVers)
ipVers - the IP version to combine with thisCopyright © 2019 OpenDaylight. All rights reserved.