Enum CodeClimateCategory
- java.lang.Object
-
- java.lang.Enum<CodeClimateCategory>
-
- se.bjurr.violations.lib.model.codeclimate.CodeClimateCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CodeClimateCategory>
public enum CodeClimateCategory extends java.lang.Enum<CodeClimateCategory>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()static CodeClimateCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CodeClimateCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUGRISK
public static final CodeClimateCategory BUGRISK
-
CLARITY
public static final CodeClimateCategory CLARITY
-
COMPAT
public static final CodeClimateCategory COMPAT
-
COMPLEXITY
public static final CodeClimateCategory COMPLEXITY
-
DUPL
public static final CodeClimateCategory DUPL
-
PERFORM
public static final CodeClimateCategory PERFORM
-
SECURITY
public static final CodeClimateCategory SECURITY
-
STYLE
public static final CodeClimateCategory STYLE
-
-
Method Detail
-
values
public static CodeClimateCategory[] 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 (CodeClimateCategory c : CodeClimateCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeClimateCategory 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
-
getName
public java.lang.String getName()
-
-