public enum HitPolicy extends Enum<HitPolicy>
| Enum Constant and Description |
|---|
ANY |
COLLECT |
COLLECT_COUNT |
COLLECT_MAX |
COLLECT_MIN |
COLLECT_SUM |
FIRST |
OUTPUT_ORDER |
PRIORITY |
RULE_ORDER |
UNIQUE |
| Modifier and Type | Method and Description |
|---|---|
static HitPolicy |
fromString(String policy) |
String |
getLongName() |
String |
getShortName() |
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 COLLECT_SUM
public static final HitPolicy COLLECT_COUNT
public static final HitPolicy COLLECT_MIN
public static final HitPolicy COLLECT_MAX
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 nullpublic String getShortName()
public String getLongName()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.