Class IntegerCondensed
- java.lang.Object
-
- org.jenkinsci.plugins.benchmark.results.TestGroup
-
- org.jenkinsci.plugins.benchmark.results.TestValue
-
- org.jenkinsci.plugins.benchmark.results.NumeralValue
-
- org.jenkinsci.plugins.benchmark.results.IntegerValue
-
- org.jenkinsci.plugins.benchmark.condensed.IntegerCondensed
-
public class IntegerCondensed extends IntegerValue
Holds the information for integer condensed result- Since:
- 5/10/2017
- Author:
- Daniel Mercier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.benchmark.results.TestValue
TestValue.ValueType
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.benchmark.results.TestGroup
TestGroup.ClassType
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.benchmark.results.IntegerValue
values
-
Fields inherited from class org.jenkinsci.plugins.benchmark.results.TestValue
FAILED_STATE_COLOR, group, PASSED_STATE_COLOR, properties, type, unit
-
Fields inherited from class org.jenkinsci.plugins.benchmark.results.TestGroup
ctype, description, groupHash, groups, name, parent, thresholds
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getAverage()
String
getCSVCondensed(ContentDetected detected)
Assemble the CSV content to display the condensed table [CSV EXPORT]int
getFailed()
String
getHTMLCondensed(Integer key, ContentDetected detected, char decimalSeparator)
Assemble the HTML content to display the condensed table [TABLE PAGE]String
getHTMLCondensedDetail(ContentDetected detected, char decimalSeparator)
Assemble the HTML content to display the condensed table [DETAIL PAGE]Double
getMaximum()
Get minimumDouble
getMinimum()
Get minimumint
getPassed()
Integer
getPrevious()
Double
getStdDeviation()
-
Methods inherited from class org.jenkinsci.plugins.benchmark.results.IntegerValue
calculateAverage, checkThresholdStatus, getCondensedJsonObject, getDataAsJsonArray, getJsonObject, getPreviousValue, getValue, getValue, getValueAsLocaleString, getValueAsString, getValues, setValue, setValue
-
Methods inherited from class org.jenkinsci.plugins.benchmark.results.TestValue
checkType, convertCondensedParameterJsonObject, convertCondensedResultJsonObject, convertParameterJsonObject, convertResultJsonObject, getColor, getCSVResult, getCSVResultState, getFailedState, getFailedState, getGroup, getHTMLDetails, getHTMLParameter, getHTMLParameters, getHTMLResult, getHTMLResult, getId, getId, getMessages, getMessages, getNumberOfProperties, getParameterJsonObject, getParameters, getParameters, getProperties, getType, getUnit, isNumeral, outputType, setFailedState, setFailedState, setGroup, setGroup, setId, setId, setMessage, setMessage, setMessages, setMessages, setParameter, setParameter, setParameters, setParameters
-
Methods inherited from class org.jenkinsci.plugins.benchmark.results.TestGroup
addGroup, addThreshold, convertCondensedFileJsonObject, getAllConnectedParameters, getAllConnectedThresholds, getClassType, getConnectedParameters, getConnectedParentParameters, getConnectedParentThresholds, getConnectedThresholds, getDescription, getDescriptions, getFileGroup, getFileHash, getFileSubGroupFullName, getFullName, getGroup, getGroupHash, getName, getNumberOfGroups, getNumberOfThresholds, getParent, getTestGroups, getThreshold, isArray, isParameterGrp, isThresholdGrp
-
-
-
-
Method Detail
-
getHTMLCondensed
public String getHTMLCondensed(Integer key, ContentDetected detected, char decimalSeparator)
Assemble the HTML content to display the condensed table [TABLE PAGE]- Overrides:
getHTMLCondensed
in classTestValue
- Parameters:
key
- Result keydetected
- Key characteristics of resultsdecimalSeparator
- Decimal separator- Returns:
- HTML content for condensed table
-
getHTMLCondensedDetail
public String getHTMLCondensedDetail(ContentDetected detected, char decimalSeparator)
Assemble the HTML content to display the condensed table [DETAIL PAGE]- Overrides:
getHTMLCondensedDetail
in classTestValue
- Parameters:
detected
- Key characteristics of resultsdecimalSeparator
- Decimal separator- Returns:
- HTML content
-
getCSVCondensed
public String getCSVCondensed(ContentDetected detected)
Assemble the CSV content to display the condensed table [CSV EXPORT]- Overrides:
getCSVCondensed
in classTestValue
- Parameters:
detected
- Key characteristics of results- Returns:
- CSV content
-
getPrevious
public Integer getPrevious()
-
getAverage
public Double getAverage()
-
getStdDeviation
public Double getStdDeviation()
-
getMinimum
public Double getMinimum()
Description copied from class:NumeralValue
Get minimum- Overrides:
getMinimum
in classNumeralValue
- Returns:
- minimum if available
-
getMaximum
public Double getMaximum()
Description copied from class:NumeralValue
Get minimum- Overrides:
getMaximum
in classNumeralValue
- Returns:
- minimum if available
-
getPassed
public int getPassed()
-
getFailed
public int getFailed()
-
-