Class ModulePropertyDetails
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.meta.ModulePropertyDetails
-
public final class ModulePropertyDetails extends java.lang.Object
Simple POJO class module's property details.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdefaultValueDefault value of property.private java.lang.StringdescriptionDescription of property.private java.lang.StringnameName of property.private java.lang.StringtypeType of property.private java.lang.StringvalidationTypeThis property is java type that plugins can use to validate user input, it is used when 'type' field is "String".
-
Constructor Summary
Constructors Constructor Description ModulePropertyDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultValue()Get default value of property.java.lang.StringgetDescription()Get description of property.java.lang.StringgetName()Get name of property.java.lang.StringgetType()Get type of property.java.lang.StringgetValidationType()Get validation type of property.voidsetDefaultValue(java.lang.String defaultValue)Set default value of property.voidsetDescription(java.lang.String description)Set description of property.voidsetName(java.lang.String name)Set name of property.voidsetType(java.lang.String type)Set property type.voidsetValidationType(java.lang.String validationType)Set validation type of property.
-
-
-
Field Detail
-
name
private java.lang.String name
Name of property.
-
type
private java.lang.String type
Type of property.
-
defaultValue
private java.lang.String defaultValue
Default value of property.
-
validationType
private java.lang.String validationType
This property is java type that plugins can use to validate user input, it is used when 'type' field is "String". It is used for special cases such as regexp and tokenSet.
-
description
private java.lang.String description
Description of property.
-
-
Constructor Detail
-
ModulePropertyDetails
public ModulePropertyDetails()
-
-
Method Detail
-
getName
public java.lang.String getName()
Get name of property.- Returns:
- name of property
-
setName
public void setName(java.lang.String name)
Set name of property.- Parameters:
name- name of property
-
getType
public java.lang.String getType()
Get type of property.- Returns:
- property type
-
setType
public void setType(java.lang.String type)
Set property type.- Parameters:
type- property type
-
getDefaultValue
public java.lang.String getDefaultValue()
Get default value of property.- Returns:
- default value of property
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
Set default value of property.- Parameters:
defaultValue- default value of property
-
getValidationType
public java.lang.String getValidationType()
Get validation type of property.- Returns:
- validation type of property
-
setValidationType
public void setValidationType(java.lang.String validationType)
Set validation type of property.- Parameters:
validationType- validation type of property
-
getDescription
public java.lang.String getDescription()
Get description of property.- Returns:
- property description
-
setDescription
public void setDescription(java.lang.String description)
Set description of property.- Parameters:
description- property description
-
-