public enum CaptureType extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2001-2009 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the MIT licence.]]>