Enum AccessControlListType
- java.lang.Object
-
- java.lang.Enum<AccessControlListType>
-
- org.apache.synapse.mediators.bsf.access.control.config.AccessControlListType
-
- All Implemented Interfaces:
Serializable
,Comparable<AccessControlListType>
public enum AccessControlListType extends Enum<AccessControlListType>
Represents the type of access control list for the Script Mediator.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOW_LIST
BLOCK_LIST
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccessControlListType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccessControlListType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW_LIST
public static final AccessControlListType ALLOW_LIST
-
BLOCK_LIST
public static final AccessControlListType BLOCK_LIST
-
-
Method Detail
-
values
public static AccessControlListType[] 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 (AccessControlListType c : AccessControlListType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessControlListType 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
-
-