public enum ResourceStatusType extends Enum<ResourceStatusType>
Enum Constant and Description |
---|
FETCH_FAILURE |
FETCH_PENDING |
FETCH_SUCCESS |
Modifier and Type | Method and Description |
---|---|
static ResourceStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceStatusType FETCH_PENDING
public static final ResourceStatusType FETCH_SUCCESS
public static final ResourceStatusType FETCH_FAILURE
public static ResourceStatusType[] values()
for (ResourceStatusType c : ResourceStatusType.values()) System.out.println(c);
public static ResourceStatusType 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 © 2018 Apache Software Foundation. All Rights Reserved.