public enum Confidence extends java.lang.Enum<Confidence>
Modifier and Type | Method and Description |
---|---|
static Confidence |
getConfidence(int prio)
Given a numeric confidence value, report the corresponding confidence enum value
|
int |
getConfidenceValue() |
static Confidence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Confidence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Confidence HIGH
public static final Confidence MEDIUM
public static final Confidence LOW
public static final Confidence IGNORE
public static Confidence[] values()
for (Confidence c : Confidence.values()) System.out.println(c);
public static Confidence 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 null@Nonnull public static Confidence getConfidence(int prio)
public int getConfidenceValue()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.