org.drools.scorecards
Class DroolsScorecard

java.lang.Object
  extended by org.drools.scorecards.DroolsScorecard
All Implemented Interfaces:
Serializable

public class DroolsScorecard
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int REASON_CODE_ALGORITHM_POINTSABOVE
           
static int REASON_CODE_ALGORITHM_POINTSBELOW
           
 
Constructor Summary
DroolsScorecard()
           
 
Method Summary
 double getCalculatedScore()
           
 int getReasonCodeAlgorithm()
           
 List<String> getReasonCodes()
           
 void setBaselineScore(String characteristic, double baselineScore)
           
 void setBaselineScore(String characteristic, int baselineScore)
           
 void setCalculatedScore(double calculatedScore)
           
 void setInitialScore(double initialScore)
           
 void setReasonCodeAlgorithm(int reasonCodeAlgorithm)
           
 void setReasonCodes(List<String> reasonCodes)
           
 void sortReasonCodes()
           
 void sortReasonCodes(List<PartialScore> partialScores)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REASON_CODE_ALGORITHM_POINTSABOVE

public static int REASON_CODE_ALGORITHM_POINTSABOVE

REASON_CODE_ALGORITHM_POINTSBELOW

public static int REASON_CODE_ALGORITHM_POINTSBELOW
Constructor Detail

DroolsScorecard

public DroolsScorecard()
Method Detail

getReasonCodeAlgorithm

public int getReasonCodeAlgorithm()

setReasonCodeAlgorithm

public void setReasonCodeAlgorithm(int reasonCodeAlgorithm)

setBaselineScore

public void setBaselineScore(String characteristic,
                             int baselineScore)

setBaselineScore

public void setBaselineScore(String characteristic,
                             double baselineScore)

getCalculatedScore

public double getCalculatedScore()

setCalculatedScore

public void setCalculatedScore(double calculatedScore)

sortReasonCodes

public void sortReasonCodes()

setInitialScore

public void setInitialScore(double initialScore)

getReasonCodes

public List<String> getReasonCodes()

setReasonCodes

public void setReasonCodes(List<String> reasonCodes)

sortReasonCodes

public void sortReasonCodes(List<PartialScore> partialScores)


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