Package edu.umd.cs.findbugs.cloud
Enum Cloud.UserDesignation
- java.lang.Object
-
- java.lang.Enum<Cloud.UserDesignation>
-
- edu.umd.cs.findbugs.cloud.Cloud.UserDesignation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Cloud.UserDesignation>
- Enclosing interface:
- Cloud
public static enum Cloud.UserDesignation extends java.lang.Enum<Cloud.UserDesignation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_ANALYSIS
I_WILL_FIX
MOSTLY_HARMLESS
MUST_FIX
NEEDS_STUDY
NOT_A_BUG
OBSOLETE_CODE
SHOULD_FIX
UNCLASSIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
nonVoting()
boolean
notAProblem()
int
score()
boolean
shouldFix()
static Cloud.UserDesignation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Cloud.UserDesignation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCLASSIFIED
public static final Cloud.UserDesignation UNCLASSIFIED
-
NEEDS_STUDY
public static final Cloud.UserDesignation NEEDS_STUDY
-
BAD_ANALYSIS
public static final Cloud.UserDesignation BAD_ANALYSIS
-
NOT_A_BUG
public static final Cloud.UserDesignation NOT_A_BUG
-
MOSTLY_HARMLESS
public static final Cloud.UserDesignation MOSTLY_HARMLESS
-
SHOULD_FIX
public static final Cloud.UserDesignation SHOULD_FIX
-
MUST_FIX
public static final Cloud.UserDesignation MUST_FIX
-
I_WILL_FIX
public static final Cloud.UserDesignation I_WILL_FIX
-
OBSOLETE_CODE
public static final Cloud.UserDesignation OBSOLETE_CODE
-
-
Method Detail
-
values
public static Cloud.UserDesignation[] 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 (Cloud.UserDesignation c : Cloud.UserDesignation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cloud.UserDesignation 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
-
score
public int score()
-
nonVoting
public boolean nonVoting()
-
notAProblem
public boolean notAProblem()
-
shouldFix
public boolean shouldFix()
-
-