Enum ReportEntryType
- java.lang.Object
-
- java.lang.Enum<ReportEntryType>
-
- org.apache.maven.plugin.surefire.report.ReportEntryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ReportEntryType>
public enum ReportEntryType extends java.lang.Enum<ReportEntryType>
Type of an entry in the report
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
flakyXmlTag
private java.lang.String
rerunXmlTag
private java.lang.String
xmlTag
-
Constructor Summary
Constructors Modifier Constructor Description private
ReportEntryType(java.lang.String xmlTag, java.lang.String flakyXmlTag, java.lang.String rerunXmlTag)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFlakyXmlTag()
java.lang.String
getRerunXmlTag()
java.lang.String
getXmlTag()
static ReportEntryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReportEntryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final ReportEntryType ERROR
-
FAILURE
public static final ReportEntryType FAILURE
-
SKIPPED
public static final ReportEntryType SKIPPED
-
SUCCESS
public static final ReportEntryType SUCCESS
-
-
Method Detail
-
values
public static ReportEntryType[] 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 (ReportEntryType c : ReportEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportEntryType 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
-
getXmlTag
public java.lang.String getXmlTag()
-
getFlakyXmlTag
public java.lang.String getFlakyXmlTag()
-
getRerunXmlTag
public java.lang.String getRerunXmlTag()
-
-