Interface InternalActionAwareBuildController


  • public interface InternalActionAwareBuildController

    DO NOT CHANGE THIS INTERFACE - it is part of the cross-version protocol.

    Consumer compatibility: This interface is used by all consumer versions from 6.8.

    Provider compatibility: This interface is implemented by all provider versions from 6.8.

    Since:
    6.8
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getCanQueryProjectModelInParallel​(java.lang.Class<?> modelType)
      Can the given project model be queried in parallel for this build?
      <T> java.util.List<T> run​(java.util.List<java.util.function.Supplier<T>> actions)
      Runs the given actions in parallel and returns the results.
    • Method Detail

      • getCanQueryProjectModelInParallel

        boolean getCanQueryProjectModelInParallel​(java.lang.Class<?> modelType)
        Can the given project model be queried in parallel for this build?
      • run

        <T> java.util.List<T> run​(java.util.List<java.util.function.Supplier<T>> actions)
        Runs the given actions in parallel and returns the results. The results should be returned in the same order as the actions that produce them.