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 GroupedTestsBeancreateForFailedBuilds(SBuild... builds)static GroupedTestsBeancreateForTestMap(Map<TestName,List<STestRun>> testNames, SProject project)static GroupedTestsBeancreateForTests(List<STestRun> tests, SUser user)static GroupedTestsBeancreateForTests(List<STestRun> tests, SUser user, SProject project)static GroupedTestsBeancreateForTestsUnsorted(List<STestRun> tests, SUser user)Map<SBuildType,TestGroupBean>getBuildTypeGroups()TestGroupBeangetPackagesRoot()ProjectTestsBeangetRootProjectGroup()intgetTestsNumber()TestGroupBeangetTestsWithoutBuilds()TestGroupBeangetTestsWithSeveralBuildTypes()voidsetSortByName(boolean sortByName)voidsetUserForSorting(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)
-
-