Interface CustomAdditionalData

All Superinterfaces:
AdditionalData

@Incubating public interface CustomAdditionalData extends AdditionalData
Custom Additional data for a problem.

This class allows to access additional data via a custom type that was attached to a problem by using ProblemSpec.additionalData(Class, Action).

Since:
8.13
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    get(Class<T> type)
    Returns an instance of the given type that accesses the additional data.

    Methods inherited from interface org.gradle.tooling.events.problems.AdditionalData

    getAsMap
  • Method Details

    • get

      <T> T get(Class<T> type)
      Returns an instance of the given type that accesses the additional data.
      Since:
      8.13