Package com.qulice.spi
Class Violation.Default
- java.lang.Object
-
- com.qulice.spi.Violation.Default
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.qulice.spi.Violation
Violation.Default
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Violation other)
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.
-
-
-
Constructor Detail
-
Default
public Default(String vldtr, String nam, String fle, String lns, String msg)
Constructor.- Parameters:
vldtr
- Name of the validatornam
- Name of the failed checkfle
- Validated filelns
- Lines with the problemmsg
- Validation message- Suppressed Checkstyle violations:
- ParameterNumber (3 lines)
-
-
Method Detail
-
validator
public String validator()
Description copied from interface:Violation
Name of the validator that generated this violation information.
-
compareTo
public int compareTo(Violation other)
- Specified by:
compareTo
in interfaceComparable<Violation>
-
-