public static enum IApplication.Environment extends Enum<IApplication.Environment>
Enum Constant and Description |
---|
DEV
开发环境
|
PRODUCT
生产环境
|
TEST
测试环境
|
UNKNOWN
未知(未指定)
|
Modifier and Type | Method and Description |
---|---|
static IApplication.Environment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IApplication.Environment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IApplication.Environment TEST
public static final IApplication.Environment DEV
public static final IApplication.Environment PRODUCT
public static final IApplication.Environment UNKNOWN
public static IApplication.Environment[] values()
for (IApplication.Environment c : IApplication.Environment.values()) System.out.println(c);
public static IApplication.Environment 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 © 2022. All rights reserved.