hudson.plugins.cigame.model
Interface Rule

All Known Implementing Classes:
BuildResultRule, IncreasingFailedTestsRule, IncreasingPassedTestsRule

public interface Rule

Rule interface.

Author:
Erik Ramfelt

Method Summary
 double evaluate(hudson.model.AbstractBuild<?,?> build)
          Evaluate the build and return the points for it
 java.lang.String getName()
          Returns the name of the rule
 

Method Detail

getName

java.lang.String getName()
Returns the name of the rule

Returns:
name of the rule

evaluate

double evaluate(hudson.model.AbstractBuild<?,?> build)
Evaluate the build and return the points for it

Parameters:
build - build to calculate points for
Returns:
0, build is not worth any points and the rule is ignored.


Copyright © 2008. All Rights Reserved.