public static enum HprofPreferences.HprofStrictness extends Enum<HprofPreferences.HprofStrictness>
Enum Constant and Description |
---|
STRICTNESS_PERMISSIVE
Raise a warning and try to "fix" the dump.
|
STRICTNESS_STOP
Throw an error and stop processing the dump.
|
STRICTNESS_WARNING
Raise a warning and continue.
|
Modifier and Type | Method and Description |
---|---|
static HprofPreferences.HprofStrictness |
parse(String value)
Given a stored preference value, return the enumeration value, or
otherwise the default strictness.
|
String |
toString()
Return the preference key.
|
static HprofPreferences.HprofStrictness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HprofPreferences.HprofStrictness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HprofPreferences.HprofStrictness STRICTNESS_STOP
public static final HprofPreferences.HprofStrictness STRICTNESS_WARNING
public static final HprofPreferences.HprofStrictness STRICTNESS_PERMISSIVE
public static HprofPreferences.HprofStrictness[] values()
for (HprofPreferences.HprofStrictness c : HprofPreferences.HprofStrictness.values()) System.out.println(c);
public static HprofPreferences.HprofStrictness 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 nullpublic String toString()
toString
in class Enum<HprofPreferences.HprofStrictness>
public static HprofPreferences.HprofStrictness parse(String value)
value
- The preference value.