public enum CaptureType extends Enum<CaptureType>
Capture
Enum Constant and Description |
---|
ALL
Will capture, in order, the arguments of each matching calls.
|
FIRST
Will capture the argument of the first matching call.
|
LAST
Will capture the argument of the last matching call.
|
NONE
Do not capture anything.
|
Modifier and Type | Method and Description |
---|---|
static CaptureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptureType NONE
public static final CaptureType FIRST
public static final CaptureType LAST
public static final CaptureType ALL
public static CaptureType[] values()
for (CaptureType c : CaptureType.values()) System.out.println(c);
public static CaptureType 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 © 2001–2022 EasyMock contributors. All rights reserved.