public static enum RouteEvent.Type extends Enum<RouteEvent.Type>
| Enum Constant and Description |
|---|
ROUTE_ADDED
Route is new and the next hop is resolved.
|
ROUTE_REMOVED
Route was removed or the next hop becomes unresolved.
|
ROUTE_UPDATED
Route has updated information.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteEvent.Type ROUTE_ADDED
The subject of this event should be the route being added. The prevSubject of this event should be null.
public static final RouteEvent.Type ROUTE_UPDATED
The subject of this event should be the new route. The prevSubject of this event should be the old route.
public static final RouteEvent.Type ROUTE_REMOVED
The subject of this event should be the route being removed. The prevSubject of this event should be null.
public static RouteEvent.Type[] values()
for (RouteEvent.Type c : RouteEvent.Type.values()) System.out.println(c);
public static RouteEvent.Type 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 null