public enum IsisRouterType extends Enum<IsisRouterType>
| Enum Constant and Description |
|---|
L1
Represents ISIS L1 router.
|
L1L2
Represents ISIS L1/L2 router.
|
L2
Represents ISIS L2 router.
|
| Modifier and Type | Method and Description |
|---|---|
static IsisRouterType |
get(int routerTypeValue)
Gets the enum instance from type value - reverse lookup purpose.
|
int |
value()
Gets the value representing router type.
|
static IsisRouterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsisRouterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsisRouterType L1
public static final IsisRouterType L2
public static final IsisRouterType L1L2
public static IsisRouterType[] values()
for (IsisRouterType c : IsisRouterType.values()) System.out.println(c);
public static IsisRouterType 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 IsisRouterType get(int routerTypeValue)
routerTypeValue - router type valuepublic int value()