Interface Defect

All Known Implementing Classes:
Defect.Default

public interface Defect
A single defect found.
Since:
0.0.1
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Default.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Line where it was found.
    Rule.
    Severity.
    Error message.
  • Method Details

    • rule

      String rule()
      Rule.
      Returns:
      Unique name of the rule
    • severity

      Severity severity()
      Severity.
      Returns:
      Severity
    • line

      int line()
      Line where it was found.
      Returns:
      Line number
    • text

      String text()
      Error message.
      Returns:
      Text