Class SecuredReportTabManager
- java.lang.Object
-
- jetbrains.buildServer.web.reportTabs.impl.SecuredReportTabManager
-
- All Implemented Interfaces:
ReportTabManager
public class SecuredReportTabManager extends Object implements ReportTabManager
-
-
Constructor Summary
Constructors Constructor Description SecuredReportTabManager(ReportTabManager delegate, SecurityContextEx securityContext)
-
Method Summary
-
-
-
Constructor Detail
-
SecuredReportTabManager
public SecuredReportTabManager(@NotNull ReportTabManager delegate, @NotNull SecurityContextEx securityContext)
-
-
Method Detail
-
createProjectReportTab
public void createProjectReportTab(@NotNull String title, @Nullable String startPage, @NotNull SProject project, @NotNull String buildTypeId, @NotNull RevisionRule revisionRule)
- Specified by:
createProjectReportTab
in interfaceReportTabManager
-
deleteProjectReportTab
public void deleteProjectReportTab(@NotNull SProject project, @NotNull ProjectReportTabConfiguration configuration)
- Specified by:
deleteProjectReportTab
in interfaceReportTabManager
-
findTab
@Nullable public ReportTabConfiguration findTab(@NotNull String id)
- Specified by:
findTab
in interfaceReportTabManager
-
editBuildReportTab
public void editBuildReportTab(@NotNull SProject project, @NotNull ReportTabConfiguration tab, @NotNull String title, @Nullable String startPage)
- Specified by:
editBuildReportTab
in interfaceReportTabManager
-
editProjectReportTab
public void editProjectReportTab(@NotNull SProject project, @NotNull ProjectReportTabConfiguration tab, @NotNull String title, @Nullable String startPage, @NotNull String buildTypeId, @NotNull RevisionRule revisionRule)
- Specified by:
editProjectReportTab
in interfaceReportTabManager
-
createBuildReportTab
public void createBuildReportTab(@NotNull SProject project, @NotNull String title, @Nullable String startPage) throws DuplicateTabTitleException
Description copied from interface:ReportTabManager
Created new build report tab- Specified by:
createBuildReportTab
in interfaceReportTabManager
title
- title of the tabstartPage
- page to display- Throws:
DuplicateTabTitleException
- if tab with suchtitle
already exists
-
deleteBuildReportTab
public void deleteBuildReportTab(@NotNull SProject project, @NotNull ReportTabConfiguration configuration)
Description copied from interface:ReportTabManager
Deletes build report tab from given project- Specified by:
deleteBuildReportTab
in interfaceReportTabManager
configuration
- build report tab configuration
-
getBuildReportTabConfigurations
@NotNull public ReportTabConfiguration[] getBuildReportTabConfigurations(@NotNull SProject project)
Description copied from interface:ReportTabManager
Gets all configurations of build report tabs, defined in project with given projectId- Specified by:
getBuildReportTabConfigurations
in interfaceReportTabManager
- Parameters:
project
- project to get build report tabs configurations for- Returns:
- all configurations of build report tabs
-
getProjectReportTabs
@NotNull public ProjectReportTabConfiguration[] getProjectReportTabs(@NotNull SProject project)
- Specified by:
getProjectReportTabs
in interfaceReportTabManager
-
-