public enum HitPolicy extends Enum<HitPolicy>
Enum Constant and Description |
---|
ANY |
COLLECT |
FIRST |
OUTPUT_ORDER |
PRIORITY |
RULE_ORDER |
UNIQUE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static HitPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HitPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HitPolicy UNIQUE
public static final HitPolicy FIRST
public static final HitPolicy PRIORITY
public static final HitPolicy ANY
public static final HitPolicy COLLECT
public static final HitPolicy RULE_ORDER
public static final HitPolicy OUTPUT_ORDER
public static HitPolicy[] values()
for (HitPolicy c : HitPolicy.values()) System.out.println(c);
public static HitPolicy 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 © 2017. All rights reserved.