Class Violation.Default

    • Constructor Detail

      • Default

        public Default​(String vldtr,
                       String nam,
                       String fle,
                       String lns,
                       String msg)
        Constructor.
        Parameters:
        vldtr - Name of the validator
        nam - Name of the failed check
        fle - Validated file
        lns - Lines with the problem
        msg - 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.
        Specified by:
        validator in interface Violation
        Returns:
        Name of the validator
      • name

        public String name()
        Description copied from interface: Violation
        Name of the failed check.
        Specified by:
        name in interface Violation
        Returns:
        Name of the failed check
      • file

        public String file()
        Description copied from interface: Violation
        Validated file.
        Specified by:
        file in interface Violation
        Returns:
        Validated file.
      • lines

        public String lines()
        Description copied from interface: Violation
        Lines with the problem.
        Specified by:
        lines in interface Violation
        Returns:
        Lines with the problem
      • message

        public String message()
        Description copied from interface: Violation
        Validation message.
        Specified by:
        message in interface Violation
        Returns:
        Validation message.