public enum BugRankCategory extends java.lang.Enum<BugRankCategory>
BugRanker
,
Confidence
Enum Constant and Description |
---|
OF_CONCERN |
SCARIEST |
SCARY |
TROUBLING |
Modifier and Type | Field and Description |
---|---|
int |
maxRank |
Modifier and Type | Method and Description |
---|---|
static BugRankCategory |
getRank(int rank) |
java.lang.String |
toString() |
static BugRankCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BugRankCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BugRankCategory SCARIEST
public static final BugRankCategory SCARY
public static final BugRankCategory TROUBLING
public static final BugRankCategory OF_CONCERN
public static BugRankCategory[] values()
for (BugRankCategory c : BugRankCategory.values()) System.out.println(c);
public static BugRankCategory 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 BugRankCategory getRank(int rank)
public java.lang.String toString()
toString
in class java.lang.Enum<BugRankCategory>
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.