Class AccessTokensTab
- java.lang.Object
-
- jetbrains.buildServer.web.openapi.SimplePageExtension
-
- jetbrains.buildServer.web.openapi.SimpleCustomTab
-
- jetbrains.buildServer.controllers.profile.auth.AccessTokensTab
-
- All Implemented Interfaces:
SensitiveSettingsTab,CustomTab,ExtensionAvailability,PageExtension
public class AccessTokensTab extends SimpleCustomTab implements SensitiveSettingsTab
- Author:
- Dmitrii Bogdanov
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.web.openapi.SimplePageExtension
myCssPaths, myJsPaths, myPagePlaces
-
-
Constructor Summary
Constructors Constructor Description AccessTokensTab(PagePlaces pagePlaces, LoginConfigurationEx loginConfigurationEx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAvailable(javax.servlet.http.HttpServletRequest request)Returns true if this extension is available (should be included on the page) for the specified request.booleanisVisible()Return false if the tab should be active (i.e.-
Methods inherited from class jetbrains.buildServer.web.openapi.SimpleCustomTab
getTabId, getTabTitle, getTabTitle, setTabTitle
-
Methods inherited from class jetbrains.buildServer.web.openapi.SimplePageExtension
addCssFile, addJsFile, fillModel, getCssPaths, getIncludeUrl, getJsPaths, getPlaceId, getPluginName, isGet, isPost, register, setIncludeUrl, setPlaceId, setPluginName, setPosition, toString, unregister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.web.openapi.CustomTab
fillModel, getTabId, getTabTitle, getTabTitle
-
Methods inherited from interface jetbrains.buildServer.web.openapi.PageExtension
getCssPaths, getDisplayName, getIncludeUrl, getJsPaths, getPluginName
-
-
-
-
Constructor Detail
-
AccessTokensTab
public AccessTokensTab(@NotNull PagePlaces pagePlaces, @NotNull LoginConfigurationEx loginConfigurationEx)
-
-
Method Detail
-
isVisible
public boolean isVisible()
Description copied from interface:CustomTabReturn false if the tab should be active (i.e. handle requests) but not visible for some reason- Specified by:
isVisiblein interfaceCustomTab- Overrides:
isVisiblein classSimpleCustomTab- Returns:
- see above
-
isAvailable
public boolean isAvailable(@NotNull javax.servlet.http.HttpServletRequest request)Description copied from interface:PageExtensionReturns true if this extension is available (should be included on the page) for the specified request. If extension needs to be shown for some pages only, it can obtain original page URL via request attribute called "pageUrl":String pageUrl = (String)request.getAttribute("pageUrl");- Specified by:
isAvailablein interfaceExtensionAvailability- Specified by:
isAvailablein interfacePageExtension- Overrides:
isAvailablein classSimplePageExtension- Parameters:
request- HTTP request- Returns:
- true if extension should be included in the page place
-
-