public enum AggregationStrategy extends Enum<AggregationStrategy>
Enum Constant and Description |
---|
AGGREGATE_SCORE |
AVERAGE_SCORE |
MAXIMUM_SCORE |
MINIMUM_SCORE |
WEIGHTED_AGGREGATE_SCORE |
WEIGHTED_AVERAGE_SCORE |
WEIGHTED_MAXIMUM_SCORE |
WEIGHTED_MINIMUM_SCORE |
Modifier and Type | Method and Description |
---|---|
String |
getAggregator() |
boolean |
isWeighted() |
static AggregationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationStrategy AGGREGATE_SCORE
public static final AggregationStrategy AVERAGE_SCORE
public static final AggregationStrategy MAXIMUM_SCORE
public static final AggregationStrategy MINIMUM_SCORE
public static final AggregationStrategy WEIGHTED_AGGREGATE_SCORE
public static final AggregationStrategy WEIGHTED_AVERAGE_SCORE
public static final AggregationStrategy WEIGHTED_MAXIMUM_SCORE
public static final AggregationStrategy WEIGHTED_MINIMUM_SCORE
public static AggregationStrategy[] values()
for (AggregationStrategy c : AggregationStrategy.values()) System.out.println(c);
public static AggregationStrategy 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 getAggregator()
public boolean isWeighted()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.