Package com.qulice.spi
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 class
Violation.Default
Default validation result.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
file()
Validated file.String
lines()
Lines with the problem.String
message()
Validation message.String
name()
Name of the failed check.String
validator()
Name of the validator that generated this violation information.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
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.
-
-