public enum IpAllocationMethod extends Enum<IpAllocationMethod>
Enum Constant and Description |
---|
Dynamic |
Static |
Unrecognized |
Modifier and Type | Method and Description |
---|---|
static IpAllocationMethod |
fromValue(String text) |
static IpAllocationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpAllocationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpAllocationMethod Static
public static final IpAllocationMethod Dynamic
public static final IpAllocationMethod Unrecognized
public static IpAllocationMethod[] values()
for (IpAllocationMethod c : IpAllocationMethod.values()) System.out.println(c);
public static IpAllocationMethod 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 IpAllocationMethod fromValue(String text)
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.