Class JavadocScraperResultUtil
java.lang.Object
com.puppycrawl.tools.checkstyle.site.JavadocScraperResultUtil
Class with result data of ClassAndPropertiesSettersJavadocScraper.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static StringThe description of the module.private static StringThe notes of the module.private static StringThe since version of the module.private static final Map<String, PropertyDetails> Map of scraped properties details - name of property, property details object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidResets the fields.static StringGet the module's description.static StringGet the module's notes.static StringGet the module's since version.static Map<String, PropertyDetails> Get the properties details map.(package private) static voidputPropertyDetails(String propertyName, PropertyDetails details) Sets additional property details to property map.(package private) static voidsetModuleDescription(String description) Sets the module's description.(package private) static voidsetModuleNotes(String notes) Sets the module's notes.(package private) static voidsetModuleSinceVersion(String sinceVersion) Sets the module's since version.
-
Field Details
-
PROPERTIES_DETAILS
Map of scraped properties details - name of property, property details object. -
moduleSinceVersion
The since version of the module. -
moduleDescription
The description of the module. -
moduleNotes
The notes of the module.
-
-
Constructor Details
-
JavadocScraperResultUtil
private JavadocScraperResultUtil()Private utility constructor.
-
-
Method Details
-
clearData
Resets the fields. -
getPropertiesDetails
Get the properties details map.- Returns:
- the details map.
-
getModuleSinceVersion
Get the module's since version.- Returns:
- the module's since version.
-
setModuleSinceVersion
Sets the module's since version.- Parameters:
sinceVersion- module's since version.
-
getModuleDescription
Get the module's description.- Returns:
- the module's description.
-
setModuleDescription
Sets the module's description.- Parameters:
description- module's description.
-
getModuleNotes
Get the module's notes.- Returns:
- the module's notes.
-
setModuleNotes
Sets the module's notes.- Parameters:
notes- module's notes.
-
putPropertyDetails
Sets additional property details to property map.- Parameters:
propertyName- name of property.details- property's details.
-