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 voidfillModel(Map<String,Object> model, javax.servlet.http.HttpServletRequest request, SBuild build, String pluginName)SProjectFeatureDescriptorgetDescriptor()StringgetId()StringgetOwnerProjectId()StringgetStartPage()SimpleCustomTabgetTab()StringgetTabId()StringgetTitle()booleanisAvailable(SBuild build)voidregisterTab(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:
getStartPagein interfaceReportTabConfiguration
-
getId
@NotNull public String getId()
- Specified by:
getIdin interfaceReportTabConfiguration
-
getTabId
@NotNull public String getTabId()
- Specified by:
getTabIdin interfaceReportTabConfiguration
-
getTitle
@NotNull public String getTitle()
- Specified by:
getTitlein 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()
-
-