Enum Class ReportFormat
- All Implemented Interfaces:
Serializable,Comparable<ReportFormat>,Constable
Output report formats emitted by validation tasks.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWrites only JUnit XML reports.Writes only SVRL output files.Writes both SVRL and JUnit XML outputs. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReportFormatReturns the enum constant of this class with the specified name.static ReportFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.booleanDetermines whether JUnit XML reports should be written.booleanDetermines whether SVRL output files should be written.
-
Enum Constant Details
-
SVRL
Writes only SVRL output files. -
JUNIT
Writes only JUnit XML reports. -
SVRL_AND_JUNIT
Writes both SVRL and JUnit XML outputs.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
writesSvrl
public boolean writesSvrl()Determines whether SVRL output files should be written.- Returns:
- true when SVRL output should be written
-
writesJunit
public boolean writesJunit()Determines whether JUnit XML reports should be written.- Returns:
- true when JUnit XML output should be written
-