hudson.plugins.cigame.model
Class Score

java.lang.Object
  extended by hudson.plugins.cigame.model.Score
All Implemented Interfaces:
java.lang.Comparable<Score>

@ExportedBean(defaultVisibility=999)
public class Score
extends java.lang.Object
implements java.lang.Comparable<Score>

Recorded score for a rule and build.


Constructor Summary
Score(java.lang.String rulesetName, java.lang.String ruleName, double points, java.lang.String pointDescription)
           
 
Method Summary
 int compareTo(Score o)
           
 java.lang.String getDescription()
           
 java.lang.String getRuleName()
           
 java.lang.String getRulesetName()
           
 double getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Score

public Score(java.lang.String rulesetName,
             java.lang.String ruleName,
             double points,
             java.lang.String pointDescription)
Method Detail

getDescription

@Exported
public java.lang.String getDescription()

getRulesetName

@Exported
public java.lang.String getRulesetName()

getRuleName

@Exported
public java.lang.String getRuleName()

getValue

@Exported
public double getValue()

compareTo

public int compareTo(Score o)
Specified by:
compareTo in interface java.lang.Comparable<Score>


Copyright © 2010. All Rights Reserved.