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 classViolation.DefaultDefault validation result.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringfile()Validated file.Stringlines()Lines with the problem.Stringmessage()Validation message.Stringname()Name of the failed check.Stringvalidator()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.
-
-