Package org.eclipse.mat.hprof.ui
Enum HprofPreferences.HprofStrictness
java.lang.Object
java.lang.Enum<HprofPreferences.HprofStrictness>
org.eclipse.mat.hprof.ui.HprofPreferences.HprofStrictness
- All Implemented Interfaces:
- Serializable,- Comparable<HprofPreferences.HprofStrictness>,- java.lang.constant.Constable
- Enclosing class:
- HprofPreferences
Enumeration for the parser strictness.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRaise a warning and try to "fix" the dump.Throw an error and stop processing the dump.Raise a warning and continue.
- 
Method SummaryModifier and TypeMethodDescriptionGiven a stored preference value, return the enumeration value, or otherwise the default strictness.toString()Return the preference key.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.Methods inherited from class java.lang.EnumcompareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
- 
Enum Constant Details- 
STRICTNESS_STOPThrow an error and stop processing the dump.
- 
STRICTNESS_WARNINGRaise a warning and continue.
- 
STRICTNESS_PERMISSIVERaise a warning and try to "fix" the dump.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
toStringReturn the preference key.- Overrides:
- toStringin class- Enum<HprofPreferences.HprofStrictness>
 
- 
parseGiven a stored preference value, return the enumeration value, or otherwise the default strictness.- Parameters:
- value- The preference value.
- Returns:
- Given a stored preference value, return the enumeration value, or otherwise the default strictness.
 
 
-