public enum OAuthErrors extends Enum<OAuthErrors> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<OAuthErrors>
| Enum Constant and Description |
|---|
OAUTH_ERROR |
TOKEN_NOT_FOUND |
TOKEN_URL_FAIL |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static OAuthErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuthErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthErrors OAUTH_ERROR
public static final OAuthErrors TOKEN_NOT_FOUND
public static final OAuthErrors TOKEN_URL_FAIL
public static OAuthErrors[] values()
for (OAuthErrors c : OAuthErrors.values()) System.out.println(c);
public static OAuthErrors 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 Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<OAuthErrors>Copyright © 2017. All rights reserved.