public static enum APIManagerPoliciesAdapter.PolicyType extends Enum<APIManagerPoliciesAdapter.PolicyType>
| Enum Constant and Description |
|---|
FAULT_HANDLER |
REQUEST |
RESPONSE |
ROUTING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonKey() |
String |
getRestAPIKey() |
static APIManagerPoliciesAdapter.PolicyType |
getTypeForJsonKey(String jsonKey) |
static APIManagerPoliciesAdapter.PolicyType |
valueOf(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.
|
public static final APIManagerPoliciesAdapter.PolicyType ROUTING
public static final APIManagerPoliciesAdapter.PolicyType REQUEST
public static final APIManagerPoliciesAdapter.PolicyType RESPONSE
public static final APIManagerPoliciesAdapter.PolicyType FAULT_HANDLER
public static final APIManagerPoliciesAdapter.PolicyType UNKNOWN
public static APIManagerPoliciesAdapter.PolicyType[] values()
for (APIManagerPoliciesAdapter.PolicyType c : APIManagerPoliciesAdapter.PolicyType.values()) System.out.println(c);
public static APIManagerPoliciesAdapter.PolicyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getRestAPIKey()
public String getJsonKey()
public static APIManagerPoliciesAdapter.PolicyType getTypeForJsonKey(String jsonKey)
Copyright © 2020. All rights reserved.