org.jenkinsci.plugins.xunit.threshold
Class XUnitThreshold
java.lang.Object
org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<XUnitThreshold>, Serializable
- Direct Known Subclasses:
- FailedThreshold, SkippedThreshold
public abstract class XUnitThreshold
- extends Object
- implements hudson.ExtensionPoint, Serializable, hudson.model.Describable<XUnitThreshold>
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Method Summary |
static hudson.DescriptorExtensionList<XUnitThreshold,XUnitThresholdDescriptor<?>> |
all()
|
hudson.model.Descriptor<XUnitThreshold> |
getDescriptor()
|
String |
getFailureNewThreshold()
|
String |
getFailureThreshold()
|
abstract hudson.model.Result |
getResultThresholdNumber(XUnitLog log,
hudson.model.AbstractBuild<?,?> build,
hudson.tasks.junit.TestResultAction testResultAction,
hudson.tasks.junit.TestResultAction previousTestResultAction)
|
hudson.model.Result |
getResultThresholdNumber(XUnitLog log,
int testCount,
int newTestCount)
|
abstract hudson.model.Result |
getResultThresholdPercent(XUnitLog log,
hudson.model.AbstractBuild<?,?> build,
hudson.tasks.junit.TestResultAction testResultAction,
hudson.tasks.junit.TestResultAction previousTestResultAction)
|
hudson.model.Result |
getResultThresholdPercent(XUnitLog log,
double testPercent,
double newTestPercent)
|
String |
getUnstableNewThreshold()
|
String |
getUnstableThreshold()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XUnitThreshold
protected XUnitThreshold()
XUnitThreshold
public XUnitThreshold(String unstableThreshold,
String unstableNewThreshold,
String failureThreshold,
String failureNewThreshold)
getDescriptor
public hudson.model.Descriptor<XUnitThreshold> getDescriptor()
- Specified by:
getDescriptor
in interface hudson.model.Describable<XUnitThreshold>
all
public static hudson.DescriptorExtensionList<XUnitThreshold,XUnitThresholdDescriptor<?>> all()
getUnstableThreshold
public String getUnstableThreshold()
getUnstableNewThreshold
public String getUnstableNewThreshold()
getFailureThreshold
public String getFailureThreshold()
getFailureNewThreshold
public String getFailureNewThreshold()
getResultThresholdNumber
public abstract hudson.model.Result getResultThresholdNumber(XUnitLog log,
hudson.model.AbstractBuild<?,?> build,
hudson.tasks.junit.TestResultAction testResultAction,
hudson.tasks.junit.TestResultAction previousTestResultAction)
getResultThresholdPercent
public abstract hudson.model.Result getResultThresholdPercent(XUnitLog log,
hudson.model.AbstractBuild<?,?> build,
hudson.tasks.junit.TestResultAction testResultAction,
hudson.tasks.junit.TestResultAction previousTestResultAction)
getResultThresholdNumber
public hudson.model.Result getResultThresholdNumber(XUnitLog log,
int testCount,
int newTestCount)
getResultThresholdPercent
public hudson.model.Result getResultThresholdPercent(XUnitLog log,
double testPercent,
double newTestPercent)
Copyright © 2004-2013. All Rights Reserved.