Class GroupedTestsBean
- java.lang.Object
-
- jetbrains.buildServer.web.problems.GroupedTestsBean
-
public class GroupedTestsBean extends Object
This bean is intended to encapsulate the data for displaying tests group in UI.- Since:
- 6.5
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupedTestsBean
createForFailedBuilds(SBuild... builds)
static GroupedTestsBean
createForTestMap(Map<TestName,List<STestRun>> testNames, SProject project)
static GroupedTestsBean
createForTests(List<STestRun> tests, SUser user)
static GroupedTestsBean
createForTests(List<STestRun> tests, SUser user, SProject project)
static GroupedTestsBean
createForTestsUnsorted(List<STestRun> tests, SUser user)
Map<SBuildType,TestGroupBean>
getBuildTypeGroups()
TestGroupBean
getPackagesRoot()
ProjectTestsBean
getRootProjectGroup()
int
getTestsNumber()
TestGroupBean
getTestsWithoutBuilds()
TestGroupBean
getTestsWithSeveralBuildTypes()
void
setSortByName(boolean sortByName)
void
setUserForSorting(SUser user)
-
-
-
Method Detail
-
createForFailedBuilds
public static GroupedTestsBean createForFailedBuilds(@NotNull SBuild... builds)
-
createForTestsUnsorted
public static GroupedTestsBean createForTestsUnsorted(@NotNull List<STestRun> tests, @Nullable SUser user)
-
createForTests
public static GroupedTestsBean createForTests(@NotNull List<STestRun> tests, @Nullable SUser user)
-
createForTests
public static GroupedTestsBean createForTests(@NotNull List<STestRun> tests, @Nullable SUser user, @Nullable SProject project)
-
createForTestMap
public static GroupedTestsBean createForTestMap(@NotNull Map<TestName,List<STestRun>> testNames, @Nullable SProject project)
-
getPackagesRoot
@NotNull public TestGroupBean getPackagesRoot()
-
getTestsNumber
public int getTestsNumber()
-
getTestsWithSeveralBuildTypes
@NotNull public TestGroupBean getTestsWithSeveralBuildTypes()
-
getTestsWithoutBuilds
@NotNull public TestGroupBean getTestsWithoutBuilds()
-
getBuildTypeGroups
@NotNull public Map<SBuildType,TestGroupBean> getBuildTypeGroups()
-
setUserForSorting
public void setUserForSorting(@Nullable SUser user)
-
getRootProjectGroup
@NotNull public ProjectTestsBean getRootProjectGroup()
-
setSortByName
public void setSortByName(boolean sortByName)
-
-