Package jetbrains.buildServer.serverSide
Interface TestName2Index
-
- All Known Implementing Classes:
TestName2IndexImpl
public interface TestName2Index
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Long
findTestNameId(TestName testName)
Returns test name id by TestName if the test with the name is known, null otherwiselong
getOrSaveTestNameId(String testName)
Returns test name id by test name.long
getOrSaveTestNameId(TestName parsedTestName)
Calculates an identifier by the test name and saves it into database if this identified is not saved yet.TestName
getTestName(long testNameId)
Returns parsed test name by test name id.Map<Long,TestName>
getTestNames(Collection<Long> testNameIds)
void
prefetchTestNamesForBuild(RunningBuildEx build)
-
-
-
Method Detail
-
getTestName
@Nullable TestName getTestName(long testNameId)
Returns parsed test name by test name id.- Parameters:
testNameId
- test_name_id- Returns:
- parsed test name
-
getTestNames
@NotNull Map<Long,TestName> getTestNames(@NotNull Collection<Long> testNameIds)
-
getOrSaveTestNameId
long getOrSaveTestNameId(String testName)
Returns test name id by test name.- Parameters:
testName
- test_name- Returns:
- test name id
-
getOrSaveTestNameId
long getOrSaveTestNameId(@NotNull TestName parsedTestName)
Calculates an identifier by the test name and saves it into database if this identified is not saved yet.
-
findTestNameId
@Nullable Long findTestNameId(@Nullable TestName testName)
Returns test name id by TestName if the test with the name is known, null otherwise
-
prefetchTestNamesForBuild
void prefetchTestNamesForBuild(@NotNull RunningBuildEx build)
-
-