Drools :: PMML - Compiler 6.2.0.CR2

org.drools.pmml.pmml_4_2.extensions
Enum AggregationStrategy

java.lang.Object
  extended by java.lang.Enum<AggregationStrategy>
      extended by org.drools.pmml.pmml_4_2.extensions.AggregationStrategy
All Implemented Interfaces:
Serializable, Comparable<AggregationStrategy>

public enum AggregationStrategy
extends Enum<AggregationStrategy>


Enum Constant Summary
AGGREGATE_SCORE
           
AVERAGE_SCORE
           
MAXIMUM_SCORE
           
MINIMUM_SCORE
           
WEIGHTED_AGGREGATE_SCORE
           
WEIGHTED_AVERAGE_SCORE
           
WEIGHTED_MAXIMUM_SCORE
           
WEIGHTED_MINIMUM_SCORE
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

getAggregator

public String getAggregator()

isWeighted

public boolean isWeighted()

Drools :: PMML - Compiler 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.