java.io.Serializable
, java.lang.Comparable<ReportType>
public enum ReportType extends java.lang.Enum<ReportType>
Enum Constant | Description |
---|---|
ERROR |
Compliance error.
|
FAILURE |
Unable to perform test (internal error or missing precondition).
|
INFO |
Information about validator progress.
|
SUMMARY |
Summary of previous reports.
|
WARNING |
Questionable or non-Recommended behaviour.
|
Modifier and Type | Method | Description |
---|---|---|
static ReportType |
forChar(char chr) |
Returns the type instance corresponding to a given character.
|
char |
getChar() |
Returns the single-character identifier for this type.
|
java.lang.String |
getDescription() |
Returns the description text for this type.
|
java.lang.String |
getName() |
Returns the human-readable name.
|
java.lang.String |
getNames() |
Returns plural of human-readable name.
|
static ReportType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ReportType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportType ERROR
public static final ReportType WARNING
public static final ReportType INFO
public static final ReportType SUMMARY
public static final ReportType FAILURE
public static ReportType[] values()
for (ReportType c : ReportType.values()) System.out.println(c);
public static ReportType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getChar()
public java.lang.String getName()
public java.lang.String getNames()
public java.lang.String getDescription()
public static ReportType forChar(char chr)
chr
- case-insensitive charactertype.getChar()==chr
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.