public static enum RuleSelectionMethod.Criterion extends Enum<RuleSelectionMethod.Criterion> implements StringValue<RuleSelectionMethod.Criterion>
| Enum Constant and Description |
|---|
FIRST_HIT |
WEIGHTED_MAX |
WEIGHTED_SUM |
| Modifier and Type | Method and Description |
|---|---|
static RuleSelectionMethod.Criterion |
fromValue(String v) |
String |
toString() |
String |
value() |
static RuleSelectionMethod.Criterion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleSelectionMethod.Criterion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleSelectionMethod.Criterion WEIGHTED_SUM
public static final RuleSelectionMethod.Criterion WEIGHTED_MAX
public static final RuleSelectionMethod.Criterion FIRST_HIT
public static RuleSelectionMethod.Criterion[] values()
for (RuleSelectionMethod.Criterion c : RuleSelectionMethod.Criterion.values()) System.out.println(c);
public static RuleSelectionMethod.Criterion 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 value()
value in interface StringValue<RuleSelectionMethod.Criterion>public static RuleSelectionMethod.Criterion fromValue(String v)
public String toString()
toString in class Enum<RuleSelectionMethod.Criterion>Copyright © 2024. All rights reserved.