public enum Sortables extends java.lang.Enum<Sortables> implements java.util.Comparator<java.lang.String>
Enum Constant and Description |
---|
BUG_RANK |
BUG_STATUS |
BUGCODE |
CATEGORY |
CLASS |
CONSENSUS |
DESIGNATION |
DIVIDER |
FIRST_SEEN |
FIRSTVERSION |
LASTVERSION |
PACKAGE |
PACKAGE_PREFIX |
PRIORITY |
PROJECT |
TYPE |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.String one,
java.lang.String two) |
java.lang.String |
formatValue(java.lang.String value) |
java.lang.String[] |
getAll() |
java.lang.String[] |
getAll(BugSet set) |
java.lang.String[] |
getAllSorted() |
java.lang.String[] |
getAllSorted(BugSet set) |
java.util.Comparator<BugLeafNode> |
getBugLeafNodeComparator() |
SortableStringComparator |
getComparator() |
abstract java.lang.String |
getFrom(BugInstance bug) |
static Sortables |
getSortableByPrettyName(java.lang.String name) |
boolean |
isAvailable(MainFrame frame) |
java.lang.String |
toString() |
static Sortables |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sortables[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sortables FIRST_SEEN
public static final Sortables FIRSTVERSION
public static final Sortables LASTVERSION
public static final Sortables PRIORITY
public static final Sortables CLASS
public static final Sortables PACKAGE
public static final Sortables PACKAGE_PREFIX
public static final Sortables CATEGORY
public static final Sortables DESIGNATION
public static final Sortables BUGCODE
public static final Sortables TYPE
public static final Sortables CONSENSUS
public static final Sortables BUG_RANK
public static final Sortables BUG_STATUS
public static final Sortables PROJECT
public static final Sortables DIVIDER
public static Sortables[] values()
for (Sortables c : Sortables.values()) System.out.println(c);
public static Sortables 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 java.lang.String toString()
toString
in class java.lang.Enum<Sortables>
public abstract java.lang.String getFrom(BugInstance bug)
public java.lang.String[] getAll()
public java.lang.String[] getAll(BugSet set)
public java.lang.String formatValue(java.lang.String value)
public int compare(java.lang.String one, java.lang.String two)
compare
in interface java.util.Comparator<java.lang.String>
public java.lang.String[] getAllSorted()
public java.lang.String[] getAllSorted(BugSet set)
public SortableStringComparator getComparator()
public java.util.Comparator<BugLeafNode> getBugLeafNodeComparator()
public boolean isAvailable(MainFrame frame)
public static Sortables getSortableByPrettyName(java.lang.String name)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.