Package de.hsh.graja.regression.report
Enum ViolationCategory
- java.lang.Object
-
- java.lang.Enum<ViolationCategory>
-
- de.hsh.graja.regression.report.ViolationCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<ViolationCategory>
public enum ViolationCategory extends Enum<ViolationCategory>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
TestType
getTestType()
static ViolationCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static ViolationCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING_GRADING_RESULT
public static final ViolationCategory MISSING_GRADING_RESULT
-
MISSING_COMMENT
public static final ViolationCategory MISSING_COMMENT
-
EQUALITY_CLASH_STRING
public static final ViolationCategory EQUALITY_CLASH_STRING
-
EQUALITY_CLASH_CLASS
public static final ViolationCategory EQUALITY_CLASH_CLASS
-
EQUALITY_CLASH_DIFF
public static final ViolationCategory EQUALITY_CLASH_DIFF
-
EQUALITY_CLASH_GRADES
public static final ViolationCategory EQUALITY_CLASH_GRADES
-
RECORDED_CONFIG_MISMATCH
public static final ViolationCategory RECORDED_CONFIG_MISMATCH
-
TRANSFER_UNAVAILABLE
public static final ViolationCategory TRANSFER_UNAVAILABLE
-
EQUALITY_CLASH_IMAGE
public static final ViolationCategory EQUALITY_CLASH_IMAGE
-
CHILD_NODES_MISSING
public static final ViolationCategory CHILD_NODES_MISSING
-
CHILD_NODES_EXCESSIVE
public static final ViolationCategory CHILD_NODES_EXCESSIVE
-
UNEQUAL_TREE_SIZE_LARGER
public static final ViolationCategory UNEQUAL_TREE_SIZE_LARGER
-
UNEQUAL_TREE_SIZE_SMALLER
public static final ViolationCategory UNEQUAL_TREE_SIZE_SMALLER
-
-
Method Detail
-
values
public static ViolationCategory[] 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 (ViolationCategory c : ViolationCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ViolationCategory valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDescription
public String getDescription()
-
getTestType
public TestType getTestType()
-
-