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 intcompareTo(Violation other)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.
-
-
-
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:ViolationName of the validator that generated this violation information.
-
compareTo
public int compareTo(Violation other)
- Specified by:
compareToin interfaceComparable<Violation>
-
-