public static enum Mock.NotFound extends Enum<Mock.NotFound>
| Enum Constant and Description |
|---|
ERROR
抛异常
|
IGNORE
忽略,使用默认模拟器
|
WARN
警告,通过日志框架输出警告信息,使用默认模拟器
|
| Modifier and Type | Method and Description |
|---|---|
static Mock.NotFound |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mock.NotFound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mock.NotFound IGNORE
public static final Mock.NotFound WARN
public static final Mock.NotFound ERROR
public static Mock.NotFound[] values()
for (Mock.NotFound c : Mock.NotFound.values()) System.out.println(c);
public static Mock.NotFound 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 © 2020. All rights reserved.