public enum UploadStatus extends Enum<UploadStatus>
Modifier and Type | Class and Description |
---|---|
static class |
UploadStatus.Adapter |
Enum Constant and Description |
---|
DUPLICATE |
REQUESTED |
SUCCEEDED |
UNKNOWN |
VALIDATION_FAILED |
VALIDATION_IN_PROGRESS |
Modifier and Type | Method and Description |
---|---|
static UploadStatus |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static UploadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UploadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadStatus UNKNOWN
public static final UploadStatus REQUESTED
public static final UploadStatus VALIDATION_IN_PROGRESS
public static final UploadStatus VALIDATION_FAILED
public static final UploadStatus DUPLICATE
public static final UploadStatus SUCCEEDED
public static UploadStatus[] values()
for (UploadStatus c : UploadStatus.values()) System.out.println(c);
public static UploadStatus 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 String getValue()
public String toString()
toString
in class Enum<UploadStatus>
public static UploadStatus fromValue(String text)
Copyright © 2023 Sage Bionetworks. All rights reserved.