public static enum OspfElement.Status extends Enum<OspfElement.Status>
Enum Constant and Description |
---|
disabled |
enabled
Status ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The status of an interface: 'enabled' indicates that
it is willing to communicate with other OSPF Routers,
while 'disabled' indicates that it is not."
SYNTAX INTEGER { enabled (1), disabled (2) }
|
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,String> |
s_typeMap |
Modifier and Type | Method and Description |
---|---|
static OspfElement.Status |
get(Integer code) |
static String |
getTypeString(Integer code) |
Integer |
getValue() |
static OspfElement.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OspfElement.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OspfElement.Status enabled
public static final OspfElement.Status disabled
public static OspfElement.Status[] values()
for (OspfElement.Status c : OspfElement.Status.values()) System.out.println(c);
public static OspfElement.Status 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 Integer getValue()
public static OspfElement.Status get(Integer code)
Copyright © 2021. All rights reserved.