Top Description Fields Constructors Methods
org.easymock

public final Enum CaptureType

extends Enum<CaptureType>
Class Inheritance

Defines how arguments will be captured by a Capture object.
Author
Henri Tremblay
See Also
Capture

Field Summary

Modifier and TypeField and Description
public static final CaptureType
ALL

Will capture, in order, the arguments of each matching calls.

public static final CaptureType
FIRST

Will capture the argument of the first matching call.

public static final CaptureType
LAST

Will capture the argument of the last matching call.

public static final CaptureType
NONE

Do not capture anything.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static CaptureType
public static CaptureType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ALLback to summary
public static final CaptureType ALL

Will capture, in order, the arguments of each matching calls.

FIRSTback to summary
public static final CaptureType FIRST

Will capture the argument of the first matching call.

LASTback to summary
public static final CaptureType LAST

Will capture the argument of the last matching call.

NONEback to summary
public static final CaptureType NONE

Do not capture anything.

Constructor Detail

CaptureTypeback to summary
private CaptureType()

Method Detail

valueOfback to summary
public static CaptureType valueOf(String name)
valuesback to summary
public static CaptureType[] values()