public enum ReportType extends Enum<ReportType>
Enum Constant and 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 and 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.
|
String |
getDescription()
Returns the description text for this type.
|
String |
getName()
Returns the human-readable name.
|
String |
getNames()
Returns plural of human-readable name.
|
static ReportType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char getChar()
public String getName()
public String getNames()
public String getDescription()
public static ReportType forChar(char chr)
chr
- case-insensitive charactertype.getChar()==chr
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.