java.lang.Object
edu.hm.hafner.analysis.parser.checkstyle.Rule
Java Bean class representing a Checkstyle rule.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the description of this rule.getName()Returns the name of this rule.voidsetDescription(Topic topic) Sets the description of this rule.voidSets the name of this rule.
-
Konstruktordetails
-
Rule
public Rule()Instantiates a new rule. -
Rule
Instantiates a new rule.- Parameter:
name- the name of the rule
-
-
Methodendetails
-
getName
Returns the name of this rule.- Gibt zurück:
- the name
-
setName
Sets the name of this rule.- Parameter:
name- the name
-
getDescription
Returns the description of this rule.- Gibt zurück:
- the description
-
setDescription
Sets the description of this rule. The description is only set if the topic is a description.- Parameter:
topic- the topic that might contain the description
-