Enum Class ReportType

java.lang.Object
java.lang.Enum<ReportType>
org.alexmond.yaml.validator.config.ReportType
All Implemented Interfaces:
Serializable, Comparable<ReportType>, Constable

public enum ReportType extends Enum<ReportType>
Represents different types of output report formats for validation results.
  • Enum Constant Details

    • TEXT

      public static final ReportType TEXT
      Plain text format report
    • YAML

      public static final ReportType YAML
      YAML format report
    • JSON

      public static final ReportType JSON
      JSON format report
    • JUNIT

      public static final ReportType JUNIT
      JUnit XML format report
  • Method Details

    • values

      public static ReportType[] 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

      public static ReportType valueOf(String name)
      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 name
      NullPointerException - if the argument is null