Class StringCondensed
- java.lang.Object
-
- org.jenkinsci.plugins.benchmark.results.TestGroup
-
- org.jenkinsci.plugins.benchmark.results.TestValue
-
- org.jenkinsci.plugins.benchmark.results.StringValue
-
- org.jenkinsci.plugins.benchmark.condensed.StringCondensed
-
public class StringCondensed extends StringValue
Holds the information for string 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.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 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]int
getPassed()
-
Methods inherited from class org.jenkinsci.plugins.benchmark.results.StringValue
getCondensedJsonObject, getJsonObject, getValue, getValue, getValueAsLocaleString, getValueAsString, getValues, setValue, setValue
-
Methods inherited from class org.jenkinsci.plugins.benchmark.results.TestValue
checkThresholdStatus, checkType, convertCondensedParameterJsonObject, convertCondensedResultJsonObject, convertParameterJsonObject, convertResultJsonObject, getColor, getCSVResult, getCSVResultState, getDataAsJsonArray, 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
-
getPassed
public int getPassed()
-
getFailed
public int getFailed()
-
-