Package org.openstack4j.model.gbp
Enum PolicyAction.PolicyActionProtocol
- java.lang.Object
-
- java.lang.Enum<PolicyAction.PolicyActionProtocol>
-
- org.openstack4j.model.gbp.PolicyAction.PolicyActionProtocol
-
- All Implemented Interfaces:
Serializable,Comparable<PolicyAction.PolicyActionProtocol>
- Enclosing interface:
- PolicyAction
public static enum PolicyAction.PolicyActionProtocol extends Enum<PolicyAction.PolicyActionProtocol>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyAction.PolicyActionProtocolforValue(String value)Stringvalue()static PolicyAction.PolicyActionProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static PolicyAction.PolicyActionProtocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW
public static final PolicyAction.PolicyActionProtocol ALLOW
-
REDIRECT
public static final PolicyAction.PolicyActionProtocol REDIRECT
-
COPY
public static final PolicyAction.PolicyActionProtocol COPY
-
LOG
public static final PolicyAction.PolicyActionProtocol LOG
-
QoS
public static final PolicyAction.PolicyActionProtocol QoS
-
UNRECOGNIZED
public static final PolicyAction.PolicyActionProtocol UNRECOGNIZED
-
-
Method Detail
-
values
public static PolicyAction.PolicyActionProtocol[] 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 (PolicyAction.PolicyActionProtocol c : PolicyAction.PolicyActionProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyAction.PolicyActionProtocol valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forValue
public static PolicyAction.PolicyActionProtocol forValue(String value)
-
value
public String value()
-
-