Class Utils


  • public class Utils
    extends Object
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • isJSONValid

        public static boolean isJSONValid​(String test)
      • urlExists

        public static boolean urlExists​(String urlStr)
      • getOperatingSystem

        public static String getOperatingSystem()
      • isWindows

        public static boolean isWindows()
      • isLinux

        public static boolean isLinux()
      • isMac

        public static boolean isMac()
      • is32

        public static boolean is32()
      • is64

        public static boolean is64()
      • isHighestVulnerabilityAllowedExceeded

        public static boolean isHighestVulnerabilityAllowedExceeded​(Set<com.redhat.exhort.api.Severity> severities,
                                                                    com.redhat.exhort.api.Severity highestAllowedSeverity)