public enum IPAddressingMode extends Enum<IPAddressingMode>
Modifier and Type | Method and Description |
---|---|
static IPAddressingMode |
get(int id)
Retrieves the IP addressing mode for the given ID.
|
int |
getID()
Retrieves the IP addressing mode ID.
|
String |
getName()
Retrieves the IP addressing mode name.
|
String |
toString() |
static IPAddressingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPAddressingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPAddressingMode DHCP
public static final IPAddressingMode STATIC
public static IPAddressingMode get(int id)
id
- ID to retrieve the IP addressing mode.public int getID()
public String getName()
public String toString()
toString
in class Enum<IPAddressingMode>
public static IPAddressingMode 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 IPAddressingMode[] values()
for (IPAddressingMode c : IPAddressingMode.values()) System.out.println(c);
© Copyright 2014 - 2024 Digi International Inc. All rights reserved.