Package org.ossreviewtoolkit.model
Enum Severity
-
-
Method Summary
Modifier and Type Method Description final LeveltoLog4jLevel()Map the Severity to a Log4j Level. final SeverityvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Severity>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<Severity>getEntries()A generic class describing a severity, e.g. -
-
Method Detail
-
toLog4jLevel
final Level toLog4jLevel()
Map the Severity to a Log4j Level.
-
valueOf
final Severity valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<Severity> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Severity> getEntries()
A generic class describing a severity, e.g. of issues, sorted from least severe to most severe.
-
-
-
-