public enum ReportingPolicy extends Enum<ReportingPolicy>
| Enum Constant and Description | 
|---|
| ERRORA report with  Diagnostic.Kind.ERRORwill be created for the given issue,
 causing the compilation to fail. | 
| IGNORENo report will be created for the given issue. | 
| WARNA report with  Diagnostic.Kind.WARNINGwill be created for the given issue. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ReportingPolicy | valueOf(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
Diagnostic.Kind.WARNING will be created for the given issue.public static final ReportingPolicy ERROR
Diagnostic.Kind.ERROR will be created for the given issue,
 causing the compilation to fail.public static ReportingPolicy[] values()
for (ReportingPolicy c : ReportingPolicy.values()) System.out.println(c);
public static ReportingPolicy 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 nullCopyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.