public enum HitPolicy extends Enum<HitPolicy>
Enum Constant and Description |
---|
FIRST
A single-hit policy where the first match is used,
based on the order of the decision rules.
|
RULE_ORDER
A multiple-hit policy which returns all hits in rule order.
|
Modifier and Type | Method and Description |
---|---|
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 FIRST
public static final HitPolicy RULE_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 © 2007-2020 Whitestein Technologies. All Rights Reserved.