| Enum Constant and Description |
|---|
ALLOW
Allow waf enum.
|
REJECT
Reject waf enum.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
get code.
|
java.lang.String |
getName()
get name.
|
static WafEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WafEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WafEnum REJECT
public static final WafEnum ALLOW
public static WafEnum[] values()
for (WafEnum c : WafEnum.values()) System.out.println(c);
public static WafEnum 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 nullpublic int getCode()
public java.lang.String getName()
Copyright © 2024 The Apache Software Foundation. All rights reserved.