java.lang.Object
edu.hm.hafner.analysis.parser.checkstyle.Rule

public class Rule extends Object
Java Bean class representing a Checkstyle rule.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • Rule

      public Rule()
      Instantiates a new rule.
    • Rule

      public Rule(@CheckForNull String name)
      Instantiates a new rule.
      Parameter:
      name - the name of the rule
  • Methodendetails

    • getName

      public String getName()
      Returns the name of this rule.
      Gibt zurück:
      the name
    • setName

      public void setName(@CheckForNull String name)
      Sets the name of this rule.
      Parameter:
      name - the name
    • getDescription

      public String getDescription()
      Returns the description of this rule.
      Gibt zurück:
      the description
    • setDescription

      public void setDescription(Topic topic)
      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