Interface BuildTestsProcessor
-
public interface BuildTestsProcessor
Processor for an element in test history, see BuildTypeTests class- Author:
- kir
- See Also:
BuildTypeTests
-
-
Field Summary
Fields Modifier and Type Field Description static jetbrains.buildServer.serverSide.tests.ProcessTestHistoryCommandContext
NULL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
execute(BuildTestsInfo buildTestsInfo)
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 usedLong2StatusCollection
getOrCalculate(long testNameId, Supplier<Long2StatusCollection> supplier)
Cache the value provided by supplier in the context of the current command, on stack
-
-
-
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 keysupplier
- value supplier- Returns:
-
-