Class PropertyDetails.Builder
java.lang.Object
com.puppycrawl.tools.checkstyle.site.PropertyDetails.Builder
- Enclosing class:
PropertyDetails
Builder for
PropertyDetails.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe configurable token names.private StringThe default value string.The default value token names.private StringThe xdoc-safe HTML description.private StringThe property name.private StringThe since version string.The token property type; defaults to STANDARD.private StringThe resolved type string. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns thePropertyDetails.Sets the configurable token names.defaultValue(String val) Sets the default value string.Sets the default value token names.description(String val) Sets the xdoc-safe HTML description.Sets the property name.sinceVersion(String val) Sets the since version string.Sets the token property type.Sets the resolved type string.
-
Field Details
-
buildName
The property name. -
buildDescription
The xdoc-safe HTML description. -
buildType
The resolved type string. -
buildTokenPropertyType
The token property type; defaults to STANDARD. -
buildConfigurableTokens
The configurable token names. -
buildDefaultValue
The default value string. -
buildDefaultValueTokens
The default value token names. -
buildSinceVersion
The since version string.
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the property name.- Parameters:
val- the property name.- Returns:
- this builder.
-
description
Sets the xdoc-safe HTML description.- Parameters:
val- the description.- Returns:
- this builder.
-
type
Sets the resolved type string.- Parameters:
val- the type string.- Returns:
- this builder.
-
tokenPropertyType
Sets the token property type.- Parameters:
val- the token property type.- Returns:
- this builder.
-
configurableTokens
Sets the configurable token names.- Parameters:
val- the list of token names.- Returns:
- this builder.
-
defaultValue
Sets the default value string.- Parameters:
val- the default value string.- Returns:
- this builder.
-
defaultValueTokens
Sets the default value token names.- Parameters:
val- the list of token names.- Returns:
- this builder.
-
sinceVersion
Sets the since version string.- Parameters:
val- the since version.- Returns:
- this builder.
-
build
Builds and returns thePropertyDetails.- Returns:
- a new
PropertyDetailsinstance.
-