Interface PmdResult

All Superinterfaces:
Resource
All Known Implementing Classes:
DefaultPmdResult

public interface PmdResult extends Resource
Provides the results from running PMD.
  • Method Details

    • project

      The project that was checked.
      Returns:
      the project
    • checked

      long checked()
      Returns the number of checked files.
      Returns:
      the number
    • violations

      long violations()
      Returns the number of rule violations.
      Returns:
      the number
    • of

      static PmdResult of(Project project, ResourceProvider provider, long checked, long violations)
      Creates a new PMD result from the given values.
      Parameters:
      project - the project
      provider - the provider
      checked - the number of checked files
      violations - the number of rule violations
      Returns:
      the PMD result