Package org.kie.pmml.pmml_4_2.extensions
Enum AggregationStrategy
- java.lang.Object
-
- java.lang.Enum<AggregationStrategy>
-
- org.kie.pmml.pmml_4_2.extensions.AggregationStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<AggregationStrategy>
public enum AggregationStrategy extends Enum<AggregationStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATE_SCOREAVERAGE_SCOREMAXIMUM_SCOREMINIMUM_SCOREWEIGHTED_AGGREGATE_SCOREWEIGHTED_AVERAGE_SCOREWEIGHTED_MAXIMUM_SCOREWEIGHTED_MINIMUM_SCORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAggregator()booleanisWeighted()static AggregationStrategyvalueOf(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.
-
-
-
Enum Constant Detail
-
AGGREGATE_SCORE
public static final AggregationStrategy AGGREGATE_SCORE
-
AVERAGE_SCORE
public static final AggregationStrategy AVERAGE_SCORE
-
MAXIMUM_SCORE
public static final AggregationStrategy MAXIMUM_SCORE
-
MINIMUM_SCORE
public static final AggregationStrategy MINIMUM_SCORE
-
WEIGHTED_AGGREGATE_SCORE
public static final AggregationStrategy WEIGHTED_AGGREGATE_SCORE
-
WEIGHTED_AVERAGE_SCORE
public static final AggregationStrategy WEIGHTED_AVERAGE_SCORE
-
WEIGHTED_MAXIMUM_SCORE
public static final AggregationStrategy WEIGHTED_MAXIMUM_SCORE
-
WEIGHTED_MINIMUM_SCORE
public static final AggregationStrategy WEIGHTED_MINIMUM_SCORE
-
-
Method Detail
-
values
public static AggregationStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregationStrategy c : AggregationStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregationStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getAggregator
public String getAggregator()
-
isWeighted
public boolean isWeighted()
-
-