java.lang.Object
io.jenkins.plugins.octanesuitegatebyembiti.utils.Util

public final class Util extends Object
  • Method Details

    • trimToEmpty

      public static String trimToEmpty(String value)
    • trimTrailingSlash

      public static String trimTrailingSlash(String value)
    • splitCsv

      public static List<String> splitCsv(String value)
    • splitIdList

      public static List<String> splitIdList(String value)
    • normalizeStatus

      public static String normalizeStatus(String value)
    • isBlank

      public static boolean isBlank(String value)
    • percentage

      public static double percentage(double numerator, double denominator)
    • formatDecimal

      public static String formatDecimal(double value, int decimalPlaces)
    • formatPercentage

      public static String formatPercentage(double value, int decimalPlaces)
    • formatCompactPercentage

      public static String formatCompactPercentage(double value)
    • forLog

      public static String forLog(String value)
      Keeps untrusted values on one bounded Jenkins console line.