Class Util
java.lang.Object
io.jenkins.plugins.octanesuitegatebyembiti.utils.Util
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringKeeps untrusted values on one bounded Jenkins console line.static StringformatCompactPercentage(double value) static StringformatDecimal(double value, int decimalPlaces) static StringformatPercentage(double value, int decimalPlaces) static booleanstatic StringnormalizeStatus(String value) static doublepercentage(double numerator, double denominator) splitIdList(String value) static StringtrimToEmpty(String value) static StringtrimTrailingSlash(String value)
-
Method Details
-
trimToEmpty
-
trimTrailingSlash
-
splitCsv
-
splitIdList
-
normalizeStatus
-
isBlank
-
percentage
public static double percentage(double numerator, double denominator) -
formatDecimal
-
formatPercentage
-
formatCompactPercentage
-
forLog
Keeps untrusted values on one bounded Jenkins console line.
-