public enum ProfileFetchResult extends Enum<ProfileFetchResult>
Enum Constant and Description |
---|
FAILED
The profile request failed for unknown reasons.
|
NOT_FOUND
The profile request failed because the profile was not found.
|
PENDING
The profile has not been fetched yet.
|
SUCCESS
The profile was successfully fetched.
|
TOO_MANY_REQUESTS
The profile request failed because too many requests were sent.
|
Modifier and Type | Method and Description |
---|---|
static ProfileFetchResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileFetchResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileFetchResult PENDING
public static final ProfileFetchResult SUCCESS
public static final ProfileFetchResult FAILED
public static final ProfileFetchResult NOT_FOUND
public static final ProfileFetchResult TOO_MANY_REQUESTS
public static ProfileFetchResult[] values()
for (ProfileFetchResult c : ProfileFetchResult.values()) System.out.println(c);
public static ProfileFetchResult 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 nullCopyright © 2021. All rights reserved.