public enum ScoreSource extends Enum<ScoreSource>
FallbackItemScorer
Enum Constant and Description |
---|
BASELINE
The score came from the baseline item scorer.
|
PRIMARY
The score came from the primary item scorer.
|
Modifier and Type | Method and Description |
---|---|
static ScoreSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreSource PRIMARY
public static final ScoreSource BASELINE
public static ScoreSource[] values()
for (ScoreSource c : ScoreSource.values()) System.out.println(c);
public static ScoreSource 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 null