public enum LintReportOutputFormat extends Enum<LintReportOutputFormat> implements OutputFormat
| Modifier and Type | Method and Description |
|---|---|
static LintReportOutputFormat |
fromFormat(String format)
Gets the value from the format.
|
String |
getDescription() |
String |
getFormat() |
List<String> |
getFormats() |
static boolean |
isSupportedFormat(String format)
Checks if the value of the format is supported.
|
String |
toString() |
static LintReportOutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LintReportOutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LintReportOutputFormat text
public static final LintReportOutputFormat html
public static final LintReportOutputFormat json
public static final LintReportOutputFormat yaml
public static LintReportOutputFormat[] values()
for (LintReportOutputFormat c : LintReportOutputFormat.values()) System.out.println(c);
public static LintReportOutputFormat 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 static LintReportOutputFormat fromFormat(String format)
format - Text output format.public static boolean isSupportedFormat(String format)
public String getDescription()
getDescription in interface OutputFormatpublic String getFormat()
getFormat in interface OutputFormatpublic List<String> getFormats()
getFormats in interface OutputFormatpublic String toString()
toString in class Enum<LintReportOutputFormat>Copyright © 2000-2025 Sualeh Fatehi. Allrights reserved.