Package it.unive.lisa.outputs.compare
Enum JsonReportComparer.REPORTED_COMPONENT
- java.lang.Object
-
- java.lang.Enum<JsonReportComparer.REPORTED_COMPONENT>
-
- it.unive.lisa.outputs.compare.JsonReportComparer.REPORTED_COMPONENT
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JsonReportComparer.REPORTED_COMPONENT>
- Enclosing class:
- JsonReportComparer
public static enum JsonReportComparer.REPORTED_COMPONENT extends java.lang.Enum<JsonReportComparer.REPORTED_COMPONENT>
An enumeration defining the different components of aJsonReport, in order to distinguish which one of them caused a difference being reported.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonReportComparer.REPORTED_COMPONENTvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JsonReportComparer.REPORTED_COMPONENT[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WARNINGS
public static final JsonReportComparer.REPORTED_COMPONENT WARNINGS
Indicates that the difference was found in the collection of generated warnings.
-
FILES
public static final JsonReportComparer.REPORTED_COMPONENT FILES
Indicates that the difference was found in the collection of generated files.
-
-
Method Detail
-
values
public static JsonReportComparer.REPORTED_COMPONENT[] 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 (JsonReportComparer.REPORTED_COMPONENT c : JsonReportComparer.REPORTED_COMPONENT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonReportComparer.REPORTED_COMPONENT 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
-
-