public static enum TunnelEvent.Type extends java.lang.Enum<TunnelEvent.Type>
Enum Constant and Description |
---|
TUNNEL_ADDED
Signifies that a new tunnel has been added.
|
TUNNEL_REMOVED
Signifies that a tunnel has been removed.
|
TUNNEL_UPDATED
Signifies that a tunnel has been updated or changed state.
|
Modifier and Type | Method and Description |
---|---|
static TunnelEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TunnelEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TunnelEvent.Type TUNNEL_ADDED
public static final TunnelEvent.Type TUNNEL_UPDATED
public static final TunnelEvent.Type TUNNEL_REMOVED
public static TunnelEvent.Type[] values()
for (TunnelEvent.Type c : TunnelEvent.Type.values()) System.out.println(c);
public static TunnelEvent.Type 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