public static enum VirtualIP.IPVersion extends Enum<VirtualIP.IPVersion>
Enum Constant and Description |
---|
IPV4 |
IPV6 |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VirtualIP.IPVersion |
fromValue(String ipVersion) |
static VirtualIP.IPVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualIP.IPVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualIP.IPVersion IPV4
public static final VirtualIP.IPVersion IPV6
public static final VirtualIP.IPVersion UNRECOGNIZED
public static VirtualIP.IPVersion[] values()
for (VirtualIP.IPVersion c : VirtualIP.IPVersion.values()) System.out.println(c);
public static VirtualIP.IPVersion 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 static VirtualIP.IPVersion fromValue(String ipVersion)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.