public enum BatchState extends Enum<BatchState> implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Enum Constant and Description |
---|
CLOSED |
FAILED |
OPEN |
PROCESSING |
QUEUED_FOR_PROCESSING |
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<BatchState> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static BatchState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final BatchState OPEN
public static final BatchState QUEUED_FOR_PROCESSING
public static final BatchState PROCESSING
public static final BatchState CLOSED
public static final BatchState FAILED
public static final Parcelable.Creator<BatchState> CREATOR
public static BatchState[] values()
for (BatchState c : BatchState.values()) System.out.println(c);
public static BatchState 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 int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable