Package org.eclipse.lemminx.client
Enum LimitFeature
- java.lang.Object
-
- java.lang.Enum<LimitFeature>
-
- org.eclipse.lemminx.client.LimitFeature
-
- All Implemented Interfaces:
Serializable,Comparable<LimitFeature>,IXMLSettingFeature
public enum LimitFeature extends Enum<LimitFeature> implements IXMLSettingFeature
Features that are associated with some limit For example, document symbols have a maximum limit for performance reasons
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYMBOLS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns a displayable name for this featureStringgetSettingId()Returns the related settingId for this featurestatic LimitFeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static LimitFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYMBOLS
public static final LimitFeature SYMBOLS
-
-
Method Detail
-
values
public static LimitFeature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LimitFeature c : LimitFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LimitFeature valueOf(String name)
Returns 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 nameNullPointerException- if the argument is null
-
getName
public String getName()
Description copied from interface:IXMLSettingFeatureReturns a displayable name for this feature- Specified by:
getNamein interfaceIXMLSettingFeature- Returns:
- a displayable name for this feature
-
getSettingId
public String getSettingId()
Description copied from interface:IXMLSettingFeatureReturns the related settingId for this feature- Specified by:
getSettingIdin interfaceIXMLSettingFeature- Returns:
- the related settingId for this feature
-
-