Class RuleTestDescriptor


  • public class RuleTestDescriptor
    extends Object
    Author:
    Clément Fournier
    • Constructor Detail

      • RuleTestDescriptor

        public RuleTestDescriptor​(int index,
                                  Rule rule)
    • Method Detail

      • getRule

        public Rule getRule()
      • getProperties

        public Properties getProperties()
      • isDisabled

        public boolean isDisabled()
      • setDisabled

        public void setDisabled​(boolean disabled)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • setLanguageVersion

        public void setLanguageVersion​(LanguageVersion languageVersion)
      • getCode

        public String getCode()
      • setCode

        public void setCode​(String code)
      • recordExpectedViolations

        public void recordExpectedViolations​(int expectedProblems,
                                             List<Integer> expectedLineNumbers,
                                             List<String> expectedMessages)
      • getExpectedProblems

        public int getExpectedProblems()
      • getIndex

        public int getIndex()
      • getExpectedLineNumbers

        public List<Integer> getExpectedLineNumbers()
      • getExpectedMessages

        public List<String> getExpectedMessages()
      • isFocused

        public boolean isFocused()
      • setFocused

        public void setFocused​(boolean focused)
      • getLineNumber

        public int getLineNumber()
      • setLineNumber

        public void setLineNumber​(int lineNumber)