Interface Violation

All Superinterfaces:
Comparable<Violation>
All Known Implementing Classes:
Violation.Default

public interface Violation extends Comparable<Violation>
Validation result.
Since:
0.17
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    Validated file.
    Lines with the problem.
    Validation message.
    Name of the failed check.
    Name of the validator that generated this violation information.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • validator

      String validator()
      Name of the validator that generated this violation information.
      Returns:
      Name of the validator
    • name

      String name()
      Name of the failed check.
      Returns:
      Name of the failed check
    • file

      String file()
      Validated file.
      Returns:
      Validated file.
    • lines

      String lines()
      Lines with the problem.
      Returns:
      Lines with the problem
    • message

      String message()
      Validation message.
      Returns:
      Validation message.