Package com.axway.apim.adapter.apis
Enum APIManagerPoliciesAdapter.PolicyType
- java.lang.Object
-
- java.lang.Enum<APIManagerPoliciesAdapter.PolicyType>
-
- com.axway.apim.adapter.apis.APIManagerPoliciesAdapter.PolicyType
-
- All Implemented Interfaces:
Serializable,Comparable<APIManagerPoliciesAdapter.PolicyType>
- Enclosing class:
- APIManagerPoliciesAdapter
public static enum APIManagerPoliciesAdapter.PolicyType extends Enum<APIManagerPoliciesAdapter.PolicyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAULT_HANDLERGLOBAL_FAULT_HANDLERGLOBAL_REQUEST_HANDLERGLOBAL_RESPONSE_HANDLERREQUESTRESPONSEROUTING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJsonKey()StringgetNiceName()StringgetRestAPIKey()static APIManagerPoliciesAdapter.PolicyTypegetTypeForJsonKey(String jsonKey)static APIManagerPoliciesAdapter.PolicyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static APIManagerPoliciesAdapter.PolicyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUTING
public static final APIManagerPoliciesAdapter.PolicyType ROUTING
-
REQUEST
public static final APIManagerPoliciesAdapter.PolicyType REQUEST
-
RESPONSE
public static final APIManagerPoliciesAdapter.PolicyType RESPONSE
-
FAULT_HANDLER
public static final APIManagerPoliciesAdapter.PolicyType FAULT_HANDLER
-
GLOBAL_FAULT_HANDLER
public static final APIManagerPoliciesAdapter.PolicyType GLOBAL_FAULT_HANDLER
-
GLOBAL_REQUEST_HANDLER
public static final APIManagerPoliciesAdapter.PolicyType GLOBAL_REQUEST_HANDLER
-
GLOBAL_RESPONSE_HANDLER
public static final APIManagerPoliciesAdapter.PolicyType GLOBAL_RESPONSE_HANDLER
-
-
Method Detail
-
values
public static APIManagerPoliciesAdapter.PolicyType[] 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 (APIManagerPoliciesAdapter.PolicyType c : APIManagerPoliciesAdapter.PolicyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APIManagerPoliciesAdapter.PolicyType 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
-
getRestAPIKey
public String getRestAPIKey()
-
getJsonKey
public String getJsonKey()
-
getNiceName
public String getNiceName()
-
getTypeForJsonKey
public static APIManagerPoliciesAdapter.PolicyType getTypeForJsonKey(String jsonKey)
-
-