public enum FirewallDirection extends Enum<FirewallDirection>
Modifier and Type | Method and Description |
---|---|
static FirewallDirection |
fromValue(String type) |
String |
toString() |
String |
value() |
static FirewallDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirewallDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirewallDirection IN
public static final FirewallDirection OUT
public static final FirewallDirection BOTH
public static FirewallDirection[] values()
for (FirewallDirection c : FirewallDirection.values()) System.out.println(c);
public static FirewallDirection 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 nullpublic String value()
public String toString()
toString
in class Enum<FirewallDirection>
public static FirewallDirection fromValue(String type)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.