public enum PackageState extends Enum<PackageState>
Package| Enum Constant and Description |
|---|
AWAITING_UPLOAD
The awaiting upload state
|
COPYING
The copying state
|
EXPIRED
The expired state
|
FAILED
The failed state
|
PROCESSING_UPLOAD
The processing upload state
|
READY
The ready state
|
| Modifier and Type | Method and Description |
|---|---|
static PackageState |
from(String s) |
String |
getValue() |
String |
toString() |
static PackageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageState AWAITING_UPLOAD
public static final PackageState COPYING
public static final PackageState EXPIRED
public static final PackageState FAILED
public static final PackageState PROCESSING_UPLOAD
public static final PackageState READY
public static PackageState[] values()
for (PackageState c : PackageState.values()) System.out.println(c);
public static PackageState 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 static PackageState from(String s)
public String getValue()
public String toString()
toString in class Enum<PackageState>Copyright © 2020. All rights reserved.