hudson.plugins.jacoco.rules
Class LineCoveragePerSourceFileRule

java.lang.Object
  extended by hudson.plugins.jacoco.Rule
      extended by hudson.plugins.jacoco.rules.LineCoveragePerSourceFileRule
All Implemented Interfaces:
hudson.ExtensionPoint, Serializable

public class LineCoveragePerSourceFileRule
extends Rule

Flags a failure if the line coverage of a source file goes below a certain threshold.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
LineCoveragePerSourceFileRule(float minPercentage)
           
 
Method Summary
 void enforce(CoverageReport report, hudson.model.TaskListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineCoveragePerSourceFileRule

public LineCoveragePerSourceFileRule(float minPercentage)
Method Detail

enforce

public void enforce(CoverageReport report,
                    hudson.model.TaskListener listener)
Specified by:
enforce in class Rule


Copyright © 2004-2014 Hudson. All Rights Reserved.