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>, java.io.Serializable
- Direct Known Subclasses:
- FailedThreshold, SkippedThreshold
public abstract class XUnitThreshold
- extends java.lang.Object
- implements hudson.ExtensionPoint, java.io.Serializable, hudson.model.Describable<XUnitThreshold>
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Constructor Summary |
protected |
XUnitThreshold()
|
|
XUnitThreshold(java.lang.String unstableThreshold,
java.lang.String unstableNewThreshold,
java.lang.String failureThreshold,
java.lang.String failureNewThreshold)
|
Method Summary |
static hudson.DescriptorExtensionList<XUnitThreshold,XUnitThresholdDescriptor<?>> |
all()
|
hudson.model.Descriptor<XUnitThreshold> |
getDescriptor()
|
java.lang.String |
getFailureNewThreshold()
|
java.lang.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)
|
java.lang.String |
getUnstableNewThreshold()
|
java.lang.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(java.lang.String unstableThreshold,
java.lang.String unstableNewThreshold,
java.lang.String failureThreshold,
java.lang.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 java.lang.String getUnstableThreshold()
getUnstableNewThreshold
public java.lang.String getUnstableNewThreshold()
getFailureThreshold
public java.lang.String getFailureThreshold()
getFailureNewThreshold
public java.lang.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-2012. All Rights Reserved.