Interface BuildTestsProcessor


  • public interface BuildTestsProcessor
    Processor for an element in test history, see BuildTypeTests class
    Author:
    kir
    See Also:
    BuildTypeTests
    • Field Detail

      • NULL

        static final jetbrains.buildServer.serverSide.tests.ProcessTestHistoryCommandContext NULL
    • Method Detail

      • execute

        boolean execute​(BuildTestsInfo buildTestsInfo)
        Parameters:
        buildTestsInfo - build tests information
        Returns:
        true if further processing is required
      • getInterestingTestNameIds

        @Nullable
        Set<Long> getInterestingTestNameIds()
        Return the set of testNameIds needed by this processor (build tests cache will be disabled), or null -- in this case all tests will be loaded and all-tests cache will be used
        Returns:
        see above
      • getOrCalculate

        @NotNull
        Long2StatusCollection getOrCalculate​(long testNameId,
                                             Supplier<Long2StatusCollection> supplier)
        Cache the value provided by supplier in the context of the current command, on stack
        Parameters:
        testNameId - caching key
        supplier - value supplier
        Returns: