Enum Class PropertyDetails.TokenPropertyType
java.lang.Object
java.lang.Enum<PropertyDetails.TokenPropertyType>
com.puppycrawl.tools.checkstyle.site.PropertyDetails.TokenPropertyType
- All Implemented Interfaces:
Serializable,Comparable<PropertyDetails.TokenPropertyType>,Constable
- Enclosing class:
PropertyDetails
public static enum PropertyDetails.TokenPropertyType
extends Enum<PropertyDetails.TokenPropertyType>
Describes how the type cell and default-value cell should be rendered
for token-related properties.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionjavadocTokensproperty with a configurable subset of JavadocTokenTypes.Normal property — renders a plain link to property_types.xml.tokensproperty that accepts every token — renders "set of any supported tokens" with a link.tokensproperty with a configurable subset of TokenTypes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PropertyDetails.TokenPropertyType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
Normal property — renders a plain link to property_types.xml. -
TOKEN_SET
tokensproperty that accepts every token — renders "set of any supported tokens" with a link. -
TOKEN_SUBSET
tokensproperty with a configurable subset of TokenTypes. -
JAVADOC_TOKEN_SUBSET
javadocTokensproperty with a configurable subset of JavadocTokenTypes.
-
-
Constructor Details
-
TokenPropertyType
private TokenPropertyType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-