Class ReportTabConfigurationImpl
- java.lang.Object
-
- jetbrains.buildServer.web.reportTabs.impl.ReportTabConfigurationImpl
-
- All Implemented Interfaces:
ReportTabConfiguration
- Direct Known Subclasses:
ProjectReportTabConfigurationImpl
public class ReportTabConfigurationImpl extends Object implements ReportTabConfiguration
This class encapsulates report tab parameters- Author:
- kir
-
-
Constructor Summary
Constructors Constructor Description ReportTabConfigurationImpl(String ownerProjectId, SProjectFeatureDescriptor featureDescriptor, ReportTabIdGenerator generator, ReportTabsIsolationProtection reportTabsIsolationProtection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillModel(Map<String,Object> model, javax.servlet.http.HttpServletRequest request, SBuild build, String pluginName)
SProjectFeatureDescriptor
getDescriptor()
String
getId()
String
getOwnerProjectId()
String
getStartPage()
SimpleCustomTab
getTab()
String
getTabId()
String
getTitle()
boolean
isAvailable(SBuild build)
void
registerTab(PagePlaces pagePlaces, ProjectManager projectManager, RevisionRuleBuildFinders buildFinders, SBuildServer server)
-
-
-
Constructor Detail
-
ReportTabConfigurationImpl
public ReportTabConfigurationImpl(@NotNull String ownerProjectId, @NotNull SProjectFeatureDescriptor featureDescriptor, @NotNull ReportTabIdGenerator generator, @NotNull ReportTabsIsolationProtection reportTabsIsolationProtection) throws ReportTabParseException
- Throws:
ReportTabParseException
-
-
Method Detail
-
fillModel
public void fillModel(@NotNull Map<String,Object> model, @NotNull javax.servlet.http.HttpServletRequest request, @NotNull SBuild build, @NotNull String pluginName)
-
isAvailable
public boolean isAvailable(@Nullable SBuild build)
-
getStartPage
@NotNull public String getStartPage()
- Specified by:
getStartPage
in interfaceReportTabConfiguration
-
getId
@NotNull public String getId()
- Specified by:
getId
in interfaceReportTabConfiguration
-
getTabId
@NotNull public String getTabId()
- Specified by:
getTabId
in interfaceReportTabConfiguration
-
getTitle
@NotNull public String getTitle()
- Specified by:
getTitle
in interfaceReportTabConfiguration
-
getTab
public SimpleCustomTab getTab()
-
getOwnerProjectId
@NotNull public String getOwnerProjectId()
-
registerTab
public void registerTab(@NotNull PagePlaces pagePlaces, @NotNull ProjectManager projectManager, @NotNull RevisionRuleBuildFinders buildFinders, @NotNull SBuildServer server)
-
getDescriptor
public SProjectFeatureDescriptor getDescriptor()
-
-