Class SkippedThreshold
java.lang.Object
org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
org.jenkinsci.plugins.xunit.threshold.SkippedThreshold
- All Implemented Interfaces:
ExtensionPoint
,Describable<XUnitThreshold>
,Serializable
- Author:
- Gregory Boissinot
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResultThresholdNumber
(XUnitLog log, Run<?, ?> build, hudson.tasks.junit.TestResultSummary testResult, hudson.tasks.junit.TestResultSummary previousTestResultAction) getResultThresholdPercent
(XUnitLog log, Run<?, ?> build, hudson.tasks.junit.TestResultSummary testResult, hudson.tasks.junit.TestResultSummary previousTestResultAction) boolean
isValidThreshold
(double threshold, double value) Methods inherited from class org.jenkinsci.plugins.xunit.threshold.XUnitThreshold
all, getDescriptor, getFailureNewThreshold, getFailureThreshold, getResultThresholdNumber, getResultThresholdPercent, getUnstableNewThreshold, getUnstableThreshold, setFailureNewThreshold, setFailureThreshold, setUnstableNewThreshold, setUnstableThreshold
-
Constructor Details
-
SkippedThreshold
@DataBoundConstructor public SkippedThreshold()
-
-
Method Details
-
getResultThresholdNumber
public Result getResultThresholdNumber(XUnitLog log, Run<?, ?> build, hudson.tasks.junit.TestResultSummary testResult, hudson.tasks.junit.TestResultSummary previousTestResultAction) - Specified by:
getResultThresholdNumber
in classXUnitThreshold
-
getResultThresholdPercent
public Result getResultThresholdPercent(XUnitLog log, Run<?, ?> build, hudson.tasks.junit.TestResultSummary testResult, hudson.tasks.junit.TestResultSummary previousTestResultAction) - Specified by:
getResultThresholdPercent
in classXUnitThreshold
-
isValidThreshold
public boolean isValidThreshold(double threshold, double value) - Specified by:
isValidThreshold
in classXUnitThreshold
-