hudson.plugins.cigame.model
Interface Rule

All Known Implementing Classes:
BuildResultRule, DefaultCheckstyleRule, DefaultOpenTasksRule, DefaultPmdRule, DefaultWarningsRule, DefaultViolationRule, FixedFindBugsWarningsRule, IncreasingFailedTestsRule, IncreasingPassedTestsRule, NewFindBugsWarningsRule

public interface Rule

Rule interface.

Author:
Erik Ramfelt

Method Summary
 RuleResult 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

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

Parameters:
build - build to calculate points for
Returns:
the result of the rule; null if the rule should be ignored.


Copyright © 2009. All Rights Reserved.