Class PmdError.OfConfigError

java.lang.Object
com.qulice.pmd.PmdError.OfConfigError
All Implemented Interfaces:
PmdError
Enclosing interface:
PmdError

public static final class PmdError.OfConfigError extends Object implements PmdError
PmdError backed by a ConfigError.
Since:
1.0
  • Constructor Details

    • OfConfigError

      public OfConfigError(net.sourceforge.pmd.Report.ConfigurationError error)
      Creates a new PmdError, representing given ProcessingError.
      Parameters:
      error - Internal ProcessingError.
  • Method Details

    • name

      public String name()
      Description copied from interface: PmdError
      Returns error name which is short, fixed, human-readable category of the error.
      Specified by:
      name in interface PmdError
      Returns:
      Error name.
    • fileName

      public String fileName()
      Description copied from interface: PmdError
      Returns file name which caused this error. May return sentinel value if file information is not available.
      Specified by:
      fileName in interface PmdError
      Returns:
      File name.
    • lines

      public String lines()
      Description copied from interface: PmdError
      Returns formatted line range which cause this error. May return sentinel value if line information is not available.
      Specified by:
      lines in interface PmdError
      Returns:
      Formatted line range.
    • description

      public String description()
      Description copied from interface: PmdError
      Returns error description.
      Specified by:
      description in interface PmdError
      Returns:
      Description.