public enum MockType extends Enum<MockType>
Enum Constant and Description |
---|
DEFAULT
A default mock.
|
NICE
A nice mock.
|
STRICT
A strict mock.
|
Modifier and Type | Method and Description |
---|---|
static MockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MockType DEFAULT
public static final MockType NICE
public static final MockType STRICT
public static MockType[] values()
for (MockType c : MockType.values()) System.out.println(c);
public static MockType 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 © 2002-2015 Atlassian. All Rights Reserved.