Package com.securenative.processors
Enum Processors
- java.lang.Object
-
- java.lang.Enum<Processors>
-
- com.securenative.processors.Processors
-
- All Implemented Interfaces:
Serializable,Comparable<Processors>,java.lang.constant.Constable
public enum Processors extends Enum<Processors>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLACKLIST_IPBLOCK_REQUESTCHALLENGE_REQUESTDELETE_BLACKLISTEDDELETE_HEADERSMODIFY_HEADERSWHITELIST_IP
-
Method Summary
Modifier and Type Method Description StringgetProcess()static ProcessorsvalueOf(String name)Returns the enum constant of this type with the specified name.static Processors[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODIFY_HEADERS
public static final Processors MODIFY_HEADERS
-
DELETE_HEADERS
public static final Processors DELETE_HEADERS
-
BLACKLIST_IP
public static final Processors BLACKLIST_IP
-
CHALLENGE_REQUEST
public static final Processors CHALLENGE_REQUEST
-
DELETE_BLACKLISTED
public static final Processors DELETE_BLACKLISTED
-
WHITELIST_IP
public static final Processors WHITELIST_IP
-
BLOCK_REQUEST
public static final Processors BLOCK_REQUEST
-
-
Method Detail
-
values
public static Processors[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Processors 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
-
getProcess
public String getProcess()
-
-