public enum LintReportOutputFormat extends java.lang.Enum<LintReportOutputFormat> implements schemacrawler.tools.options.OutputFormat
| Modifier and Type | Method and Description |
|---|---|
static LintReportOutputFormat |
fromFormat(java.lang.String format)
Gets the value from the format.
|
java.lang.String |
getDescription() |
java.lang.String |
getFormat() |
java.util.List<java.lang.String> |
getFormats() |
static boolean |
isSupportedFormat(java.lang.String format)
Checks if the value of the format is supported.
|
java.lang.String |
toString() |
static LintReportOutputFormat |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static LintReportOutputFormat fromFormat(java.lang.String format)
format - Text output format.public static boolean isSupportedFormat(java.lang.String format)
public java.lang.String getDescription()
getDescription in interface schemacrawler.tools.options.OutputFormatpublic java.lang.String getFormat()
getFormat in interface schemacrawler.tools.options.OutputFormatpublic java.util.List<java.lang.String> getFormats()
getFormats in interface schemacrawler.tools.options.OutputFormatpublic java.lang.String toString()
toString in class java.lang.Enum<LintReportOutputFormat>Copyright © 2000-2019 Sualeh Fatehi. All rights reserved.