Enum TunnelInterfaceStateListener.UpdateRouteAction
- java.lang.Object
-
- java.lang.Enum<TunnelInterfaceStateListener.UpdateRouteAction>
-
- org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener.UpdateRouteAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TunnelInterfaceStateListener.UpdateRouteAction>
- Enclosing class:
- TunnelInterfaceStateListener
protected static enum TunnelInterfaceStateListener.UpdateRouteAction extends java.lang.Enum<TunnelInterfaceStateListener.UpdateRouteAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVERTISE_ROUTE
WITHDRAW_ROUTE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TunnelInterfaceStateListener.UpdateRouteAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TunnelInterfaceStateListener.UpdateRouteAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADVERTISE_ROUTE
public static final TunnelInterfaceStateListener.UpdateRouteAction ADVERTISE_ROUTE
-
WITHDRAW_ROUTE
public static final TunnelInterfaceStateListener.UpdateRouteAction WITHDRAW_ROUTE
-
-
Method Detail
-
values
public static TunnelInterfaceStateListener.UpdateRouteAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TunnelInterfaceStateListener.UpdateRouteAction c : TunnelInterfaceStateListener.UpdateRouteAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TunnelInterfaceStateListener.UpdateRouteAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-