Enum Constant and Description |
---|
BUG |
CODE_SMELL |
SECURITY_HOTSPOT |
VULNERABILITY |
Modifier and Type | Method and Description |
---|---|
int |
getDbConstant() |
static java.util.Set<java.lang.String> |
names() |
static RuleType |
valueOf(int dbConstant)
Returns the enum constant of the specified DB column value.
|
static RuleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuleType |
valueOfNullable(int dbConstant) |
static RuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleType CODE_SMELL
public static final RuleType BUG
public static final RuleType VULNERABILITY
public static final RuleType SECURITY_HOTSPOT
public static RuleType[] values()
for (RuleType c : RuleType.values()) System.out.println(c);
public static RuleType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getDbConstant()
public static java.util.Set<java.lang.String> names()
public static RuleType valueOf(int dbConstant)
@CheckForNull public static RuleType valueOfNullable(int dbConstant)