public enum ReportingPolicy extends java.lang.Enum<ReportingPolicy>
| Modifier and Type | Method and Description |
|---|---|
boolean |
failsBuild() |
javax.tools.Diagnostic.Kind |
getDiagnosticKind() |
boolean |
requiresReport() |
static ReportingPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportingPolicy IGNORE
public static final ReportingPolicy WARN
public static final ReportingPolicy ERROR
public static final ReportingPolicy DEFAULT
public static ReportingPolicy[] values()
for (ReportingPolicy c : ReportingPolicy.values()) System.out.println(c);
public static ReportingPolicy 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 javax.tools.Diagnostic.Kind getDiagnosticKind()
public boolean requiresReport()
public boolean failsBuild()
Copyright © 2012-2014. All Rights Reserved.