public static enum IPSessionFilter.Mode extends Enum<IPSessionFilter.Mode>
Mode
represents a Mode of IPSessionFilter
.Enum Constant and Description |
---|
BLACK_LIST
Black list mode.
|
WHITE_LIST
White list mode.
|
Modifier and Type | Method and Description |
---|---|
static IPSessionFilter.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPSessionFilter.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPSessionFilter.Mode BLACK_LIST
public static final IPSessionFilter.Mode WHITE_LIST
public static IPSessionFilter.Mode[] values()
for (IPSessionFilter.Mode c : IPSessionFilter.Mode.values()) System.out.println(c);
public static IPSessionFilter.Mode 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 nullCopyright © 2015. All rights reserved.