org.drools.pmml.pmml_4_2.extensions
Enum AggregationStrategy
java.lang.Object
java.lang.Enum<AggregationStrategy>
org.drools.pmml.pmml_4_2.extensions.AggregationStrategy
- All Implemented Interfaces:
- Serializable, Comparable<AggregationStrategy>
public enum AggregationStrategy
- extends Enum<AggregationStrategy>
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
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 name
NullPointerException - if the argument is null
getAggregator
public String getAggregator()
isWeighted
public boolean isWeighted()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.