hudson.plugins.cigame.model
Class RuleResult
java.lang.Object
hudson.plugins.cigame.model.RuleResult
public class RuleResult
- extends java.lang.Object
Result from a Rule evaluation.
|
Constructor Summary |
RuleResult(double points,
java.lang.String description)
|
|
Method Summary |
java.lang.String |
getDescription()
Returns a description of the result. |
double |
getPoints()
Returns the points for the result from a rule |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuleResult
public RuleResult(double points,
java.lang.String description)
getPoints
public double getPoints()
- Returns the points for the result from a rule
- Returns:
- the points
getDescription
public java.lang.String getDescription()
- Returns a description of the result.
Should contain a reason why the number of points was evaluated from the
rule. "-5 because the build failed"
- Returns:
- a point description
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.