public class Severity extends Object
| Constructor and Description |
|---|
Severity() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
exceedsSeverity(int maxSeverity,
String currentSeverity)
Compares a max severity integer with a severity string
|
static int |
getIntegerForSeverityText(String severityText)
Fetches the integer value of a given severity
|
static Map<String,Integer> |
getSeverities() |
static String |
getTextForSeverityLevel(int value) |
public static boolean exceedsSeverity(int maxSeverity,
String currentSeverity)
maxSeverity - the maximum severity allowedcurrentSeverity - the current severity being evaluatedpublic static int getIntegerForSeverityText(String severityText) throws IOException
severityText - the severity text providedIOExceptionpublic static String getTextForSeverityLevel(int value)
Copyright © 2016–2021. All rights reserved.