|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.cigame.model.ScoreCard
public class ScoreCard
Score card containing the results of evaluating the rules against a build.
| Constructor Summary | |
|---|---|
ScoreCard()
|
|
| Method Summary | |
|---|---|
java.util.Collection<Score> |
getScores()
Returns a collection of scores. |
double |
getTotalPoints()
Returns the total points for this score card |
void |
record(hudson.model.AbstractBuild<?,?> build,
RuleSet ruleset)
Record points for the rules in the rule set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScoreCard()
| Method Detail |
|---|
public void record(hudson.model.AbstractBuild<?,?> build,
RuleSet ruleset)
build - build to evaluateruleset - rule set to use for evaluation
public java.util.Collection<Score> getScores()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - thrown if the method is called before the scores has been recorded.
public double getTotalPoints()
throws java.lang.IllegalStateException
java.lang.IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||