Package org.gradle.api.problems

## Interface ProblemTransformer

-     @Incubating
      public interface ProblemTransformer

  Describes a transformation that can be applied to a problem.

  These transformers could be added to the `Problems` service to transform problems before they are reported.

  Since:
    8.5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Problem` | `transform​(Problem problem)` | Transforms the given problem.

- - ### Method Detail

    - #### transform

          Problem transform​(Problem problem)

      Transforms the given problem. The returned problem will be reported instead of the original problem.

      Transformations do not need to create a new problem, they can also modify the given problem.

      Parameters:
        `problem` - the problem to transform
      Returns:
        the transformed problem
      Since:
        8.5