Package edu.umd.cs.findbugs.workflow
Enum Update.MatchOldBugs
- java.lang.Object
-
- java.lang.Enum<Update.MatchOldBugs>
-
- edu.umd.cs.findbugs.workflow.Update.MatchOldBugs
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Update.MatchOldBugs>
- Enclosing class:
- Update
static enum Update.MatchOldBugs extends java.lang.Enum<Update.MatchOldBugs>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
IF_CLASS_NOT_SEEN_UNTIL_NOW
IF_LIVE
-
Constructor Summary
Constructors Modifier Constructor Description private
MatchOldBugs()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
match(BugInstance b)
static Update.MatchOldBugs
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Update.MatchOldBugs[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IF_LIVE
public static final Update.MatchOldBugs IF_LIVE
-
IF_CLASS_NOT_SEEN_UNTIL_NOW
public static final Update.MatchOldBugs IF_CLASS_NOT_SEEN_UNTIL_NOW
-
ALWAYS
public static final Update.MatchOldBugs ALWAYS
-
-
Method Detail
-
values
public static Update.MatchOldBugs[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Update.MatchOldBugs c : Update.MatchOldBugs.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Update.MatchOldBugs valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
match
boolean match(BugInstance b)
-
-