public static enum ProblemReport.Priority extends Enum<ProblemReport.Priority>
FATAL
problems will fail a build that would
otherwise have succeeded, for example because of a bad custom serializer
used only as a subclass of a superclass with other viable subtypes.
DEFAULT
problems might or might not be fatal, depending on overall
results accumulated later. AUXILIARY
problems are not fatal, and
often not even problems by themselves, but diagnostics related to default
problems (e.g. type filtration, which might suppress an
intended-to-serialize class).Modifier and Type | Method and Description |
---|---|
static ProblemReport.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProblemReport.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProblemReport.Priority FATAL
public static final ProblemReport.Priority DEFAULT
public static final ProblemReport.Priority AUXILIARY
public static ProblemReport.Priority[] values()
for (ProblemReport.Priority c : ProblemReport.Priority.values()) System.out.println(c);
public static ProblemReport.Priority 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 © 2016. All rights reserved.