org.jenkinsci.plugins.xunit.threshold
Class FailedThreshold

java.lang.Object
  extended by org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
      extended by org.jenkinsci.plugins.xunit.threshold.FailedThreshold
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<XUnitThreshold>, Serializable

public class FailedThreshold
extends XUnitThreshold

Author:
Gregory Boissinot
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
FailedThreshold()
           
FailedThreshold(String unstableThreshold, String unstableNewThreshold, String failureThreshold, String failureNewThreshold)
           
 
Method Summary
 hudson.model.Result getResultThresholdNumber(XUnitLog log, hudson.model.AbstractBuild<?,?> build, hudson.tasks.junit.TestResultAction testResultAction, hudson.tasks.junit.TestResultAction previousTestResultAction)
           
 hudson.model.Result getResultThresholdPercent(XUnitLog log, hudson.model.AbstractBuild<?,?> build, hudson.tasks.junit.TestResultAction testResultAction, hudson.tasks.junit.TestResultAction previousTestResultAction)
           
 
Methods inherited from class org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
all, getDescriptor, getFailureNewThreshold, getFailureThreshold, getResultThresholdNumber, getResultThresholdPercent, getUnstableNewThreshold, getUnstableThreshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailedThreshold

public FailedThreshold()

FailedThreshold

@DataBoundConstructor
public FailedThreshold(String unstableThreshold,
                                            String unstableNewThreshold,
                                            String failureThreshold,
                                            String failureNewThreshold)
Method Detail

getResultThresholdNumber

public hudson.model.Result getResultThresholdNumber(XUnitLog log,
                                                    hudson.model.AbstractBuild<?,?> build,
                                                    hudson.tasks.junit.TestResultAction testResultAction,
                                                    hudson.tasks.junit.TestResultAction previousTestResultAction)
Specified by:
getResultThresholdNumber in class XUnitThreshold

getResultThresholdPercent

public hudson.model.Result getResultThresholdPercent(XUnitLog log,
                                                     hudson.model.AbstractBuild<?,?> build,
                                                     hudson.tasks.junit.TestResultAction testResultAction,
                                                     hudson.tasks.junit.TestResultAction previousTestResultAction)
Specified by:
getResultThresholdPercent in class XUnitThreshold


Copyright © 2004-2013. All Rights Reserved.