public enum ResourceUploadStatus extends Enum<ResourceUploadStatus>
Enum Constant and Description |
---|
ALREADY_EXIST |
COMPONENT_NOT_EXIST |
ERROR |
NOT_EXIST |
OK |
SERVICE_NOT_EXIST |
Modifier and Type | Method and Description |
---|---|
static ResourceUploadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceUploadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceUploadStatus OK
public static final ResourceUploadStatus ALREADY_EXIST
public static final ResourceUploadStatus NOT_EXIST
public static final ResourceUploadStatus ERROR
public static final ResourceUploadStatus COMPONENT_NOT_EXIST
public static final ResourceUploadStatus SERVICE_NOT_EXIST
public static ResourceUploadStatus[] values()
for (ResourceUploadStatus c : ResourceUploadStatus.values()) System.out.println(c);
public static ResourceUploadStatus 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 © 2017. All rights reserved.