Class Pmd


  • public class Pmd
    extends Object
    Java Bean class for warnings of the PMD format.
    Author:
    Ullrich Hafner
    • Constructor Detail

      • Pmd

        public Pmd()
    • Method Detail

      • addFile

        public void addFile​(File file)
        Adds a new file.
        Parameters:
        file - the file to add
      • addError

        public void addError​(PmdError error)
        Adds a new error.
        Parameters:
        error - the error to add
      • getFiles

        public Collection<File> getFiles()
        Returns all files. The returned collection is read-only.
        Returns:
        all files
      • getErrors

        public Collection<PmdError> getErrors()
        Returns all errors. The returned collection is read-only.
        Returns:
        all errors