public static enum Constant.CloudService extends Enum<Constant.CloudService>
Enum Constant and Description |
---|
ALIYUN
阿里云
|
DISCK
服务器存储
|
QCLOUD
腾讯云
|
QINIU
七牛云
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Constant.CloudService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constant.CloudService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constant.CloudService QINIU
public static final Constant.CloudService ALIYUN
public static final Constant.CloudService QCLOUD
public static final Constant.CloudService DISCK
public static Constant.CloudService[] values()
for (Constant.CloudService c : Constant.CloudService.values()) System.out.println(c);
public static Constant.CloudService 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 getValue()
Copyright © 2021. All rights reserved.