ThreatX extension

An extension on the Threat enum to provide additional functionality.

on

Static Methods

fromInt(int code) Threat
Converts a int code to an instance of the Threat enum.