public static enum Route.Source extends java.lang.Enum<Route.Source>
| Enum Constant and Description |
|---|
BGP
Route came from the iBGP route source.
|
FPM
Route came from the FPM route source.
|
STATIC
Route can from the static route source.
|
UNDEFINED
Route source was not defined.
|
| Modifier and Type | Method and Description |
|---|---|
static Route.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Route.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route.Source BGP
public static final Route.Source FPM
public static final Route.Source STATIC
public static final Route.Source UNDEFINED
public static Route.Source[] values()
for (Route.Source c : Route.Source.values()) System.out.println(c);
public static Route.Source valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null