public static enum CheckRequiresSorted.Mode extends java.lang.Enum<CheckRequiresSorted.Mode>
Enum Constant and Description |
---|
COLLECT_AND_REPORT
Additionally report a warning.
|
COLLECT_ONLY
Collect information to determine whether a fix is required, but do not report a warning.
|
Modifier and Type | Method and Description |
---|---|
static CheckRequiresSorted.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CheckRequiresSorted.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckRequiresSorted.Mode COLLECT_ONLY
public static final CheckRequiresSorted.Mode COLLECT_AND_REPORT
public static CheckRequiresSorted.Mode[] values()
for (CheckRequiresSorted.Mode c : CheckRequiresSorted.Mode.values()) System.out.println(c);
public static CheckRequiresSorted.Mode 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 nullCopyright © 2009-2020 Google. All Rights Reserved.