Class PlaceId
- java.lang.Object
-
- jetbrains.buildServer.web.openapi.PlaceId
-
public final class PlaceId extends Object
Page place identifier points to a place on a number of pages where aPageExtensioncontent should be shown. Identifier consists of an unique id and optionally an availability handler. If specified, this availability handler acts as a filter for requests where the place id can be shown. Place id should not have spaces. If it ends with @TAB suffix then by convention such a place id defines a custom tab (CustomTab). For the classic UI all of the available place ids are defined as constants in this class. There are other place ids as well, complete list can be retrieved from the existing TeamCity installation by the following URL: /app/placeId/__ALL__
-
-
Field Summary
Fields Modifier and Type Field Description static PlaceIdACCEPT_LICENSE_SETTINGAdditional setting on the license accepting pagestatic PlaceIdADMIN_CUSTOMIZE_VCS_ROOTExtension point for customizing VSC root parameters while creating a project or build configuration from a repository URL (seeUrlSupport)static PlaceIdADMIN_EDIT_BUILD_STEPS_ACTIONS_PAGEAdditional button in build configuration/template steps settings dialog.static PlaceIdADMIN_EDIT_BUILD_TYPE_ACTIONS_PAGEAdditional content that is added into build configuration/template actions menustatic PlaceIdADMIN_EDIT_PROJECT_ACTIONS_PAGEAdditional content that is added into project actions menustatic PlaceIdADMIN_EDIT_VCS_ROOT_ACTIONS_PAGEAdditional content that is added into VCS root actions menustatic PlaceIdADMIN_GLOBAL_SETTINGS_TABDeprecated.is not used anymorestatic PlaceIdADMIN_LIST_REPOSITORIESExtension point for registering controls providing repository listing abilities.static PlaceIdADMIN_PROJECT_CREATE_BUILD_TYPEDeprecated.is not used anymorestatic PlaceIdADMIN_PROJECTS_TABDeprecated.static PlaceIdADMIN_SERVER_CONFIGURATIONServer configuration page, accessible by administrator only.static PlaceIdADMIN_SERVER_CONFIGURATION_TABServer configuration custom tab, accessible by administrator only.static PlaceIdADMIN_SERVER_DIAGNOSTIC_TABServer configuration diagnostic tab, accessible by administrator only.static PlaceIdADMIN_SETUP_OBJECT_FROM_RESOURCEExtension point for setting up a project or build configuration from a resource located by some URL (seeSetupObjectFromResourcePageExtension).static PlaceIdADMIN_USAGES_FRAGMENTEntity usages page fragment extension.static PlaceIdADMIN_USER_MANAGEMENT_TABCustom tab on the user management pages (administration area)static PlaceIdAGENT_DETAILS_TABCustom tab on agent details pagestatic PlaceIdAGENT_SUMMARYBottom part of agent summary pagestatic PlaceIdAGENTS_TABCustom tab on the agents pagestatic PlaceIdALL_PAGES_FOOTERFooter of all of the pages shown to authenticated users.static PlaceIdALL_PAGES_FOOTER_PLUGIN_CONTAINERFooter of all of the pages shown to authenticated users, supposed to contain lazy-initializing plugin partsstatic PlaceIdALL_PAGES_HEADERHeader of all of the pages shown to authenticated users (within <head> tag).static PlaceIdBACKUP_PAGE_TABBackup page (in administration).static PlaceIdBEFORE_CONTENTAdditional content that is inserted before page's content.static PlaceIdBUILD_ACTIONSBuild action liststatic PlaceIdBUILD_ARTIFACTS_FRAGMENTAdditional content on build artifacts pagestatic PlaceIdBUILD_ARTIFACTS_POPUP_FRAGMENTAdditional content in build artifacts popupstatic PlaceIdBUILD_CONF_ACTIONSBuild configuration action liststatic PlaceIdBUILD_CONF_STATISTICS_FRAGMENTAdditional content on BuildType Statistics tab You can also use methodBuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer)to get corresponding build instancestatic PlaceIdBUILD_CONF_TABCustom tab on the build configuration page.static PlaceIdBUILD_RESULTS_BUILD_PROBLEMCustom build problem rendering see BuildResultsBuildProblemRenderer helper classstatic PlaceIdBUILD_RESULTS_FRAGMENTAdditional content on build results page (overview tab) below build summary section You can also use methodBuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer)to get corresponding build instancestatic PlaceIdBUILD_RESULTS_TABCustom tab on the build results page.static PlaceIdBUILD_SUMMARYBuild summary section of a build results page.static PlaceIdCHANGE_DETAILS_BLOCKDetails of a pending or build change.static PlaceIdCHANGE_DETAILS_TABRepresents a change details tab (below status).static PlaceIdCHANGED_FILE_LINKWith this extension point additional content for changed file in VCS change list can be provided.static PlaceIdCLOUD_IMAGE_DETAILSCloud Image details section of 'Cloud' tab on agents pagestatic PlaceIdEDIT_BUILD_RUNNER_SETTINGS_FRAGMENTEdit build runner settings page (inserted at the bottom, before "Save" button)static PlaceIdEDIT_PROJECT_PAGE_TABEdit project page (administration area)static PlaceIdEDIT_PROJECT_STORAGE_LIST_TOOLSCustom tools section on Artifacts storage tab in Edit project page (now contains a link to the artifacts migration tool)static PlaceIdHEALTH_STATUS_ITEMInspection result extensionstatic PlaceIdLOGIN_PAGEAdditional content that is added on login page.static PlaceIdLOGIN_PAGE_ICONAdditional content that is added on login page.static PlaceIdMY_SETTINGS_NOTIFIER_SECTIONSection with notifiers on the "My settings" page.static PlaceIdMY_TOOLS_SECTIONTeamCity add-ons / tools section on my settings page (now it contains links to IDE plugins and tray notifier)static PlaceIdMY_TOOLS_TABSCustom tab on "My settings" pagestatic PlaceIdNOTIFIER_SETTINGS_FRAGMENTNotifier settings page for the particular user and notifier.static PlaceIdORPHAN_BUILD_TABCustom tab on the orphan build page (build from a deleted build configuration).static PlaceIdPROJECT_FRAGMENTCustom content for project page - main overview tab.static PlaceIdPROJECT_STATS_FRAGMENTCustom content for project page - statistics tab.static PlaceIdPROJECT_TABCustom tab on the project page.static PlaceIdRUN_CUSTOM_PERSONAL_BUILD_FRAGMENTAllows injecting extra parameters for personal builds into "General" tab of the "Run Custom Build" dialogstatic PlaceIdTEST_DETAILS_BLOCKExtension point for the inline test details block (to the right of the stacktrace, if the test is failing).static PlaceIdTEST_HISTORYExtension point for the inline test history block ("Test History" project tab, between the "Success rate" and test history blocks).static PlaceIdVCS_ROOT_IN_BUILD_NOTEAllows to provide additional presentation for a VCSRoot revision in a build (on Build Changes tab) Corresponding vcsRoot is passed via 'vcsRoot' request attribute.static PlaceIdVIEW_BUILD_RUNNER_SETTINGS_FRAGMENTView build runner settings section ( all of the runner settings).
-
Constructor Summary
Constructors Constructor Description PlaceId(String id)Constructor.PlaceId(String id, ExtensionAvailability availabilityHandler)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)StringgetAnchor()Deprecated.since 2020.2 usegetId()insteadStringgetId()inthashCode()booleanmatches(javax.servlet.http.HttpServletRequest request)Returns true if page with specified request path contains extensions registered for this place idStringtoString()
-
-
-
Field Detail
-
ALL_PAGES_HEADER
@NonNls public static final PlaceId ALL_PAGES_HEADER
Header of all of the pages shown to authenticated users (within <head> tag).
-
ALL_PAGES_FOOTER
@NonNls public static final PlaceId ALL_PAGES_FOOTER
Footer of all of the pages shown to authenticated users.
-
ALL_PAGES_FOOTER_PLUGIN_CONTAINER
@NonNls public static final PlaceId ALL_PAGES_FOOTER_PLUGIN_CONTAINER
Footer of all of the pages shown to authenticated users, supposed to contain lazy-initializing plugin parts
-
MY_TOOLS_SECTION
@NonNls public static final PlaceId MY_TOOLS_SECTION
TeamCity add-ons / tools section on my settings page (now it contains links to IDE plugins and tray notifier)
-
MY_TOOLS_TABS
@NonNls public static final PlaceId MY_TOOLS_TABS
Custom tab on "My settings" page- Since:
- 5.0
-
BUILD_SUMMARY
@NonNls public static final PlaceId BUILD_SUMMARY
Build summary section of a build results page. You can also use methodBuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer)to get corresponding build instance- See Also:
as helper class to create such tabs
-
BUILD_RESULTS_FRAGMENT
@NonNls public static final PlaceId BUILD_RESULTS_FRAGMENT
Additional content on build results page (overview tab) below build summary section You can also use methodBuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer)to get corresponding build instance- See Also:
as helper class to create such tabs
-
BUILD_RESULTS_BUILD_PROBLEM
@NonNls public static final PlaceId BUILD_RESULTS_BUILD_PROBLEM
Custom build problem rendering see BuildResultsBuildProblemRenderer helper class
-
BUILD_ACTIONS
@NonNls public static final PlaceId BUILD_ACTIONS
Build action list
-
BUILD_CONF_ACTIONS
@NonNls public static final PlaceId BUILD_CONF_ACTIONS
Build configuration action list
-
BUILD_CONF_STATISTICS_FRAGMENT
@NonNls public static final PlaceId BUILD_CONF_STATISTICS_FRAGMENT
Additional content on BuildType Statistics tab You can also use methodBuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer)to get corresponding build instance
-
MY_SETTINGS_NOTIFIER_SECTION
@NonNls public static final PlaceId MY_SETTINGS_NOTIFIER_SECTION
Section with notifiers on the "My settings" page. Extension should have pluginName equal to the corresponding notificator type.
-
NOTIFIER_SETTINGS_FRAGMENT
@NonNls public static final PlaceId NOTIFIER_SETTINGS_FRAGMENT
Notifier settings page for the particular user and notifier.
-
BUILD_CONF_TAB
@NonNls public static final PlaceId BUILD_CONF_TAB
Custom tab on the build configuration page.- See Also:
BuildTypeTab
-
BUILD_RESULTS_TAB
@NonNls public static final PlaceId BUILD_RESULTS_TAB
Custom tab on the build results page.
-
ORPHAN_BUILD_TAB
@NonNls public static final PlaceId ORPHAN_BUILD_TAB
Custom tab on the orphan build page (build from a deleted build configuration).- Since:
- 2018.1
-
BUILD_ARTIFACTS_FRAGMENT
@NonNls public static final PlaceId BUILD_ARTIFACTS_FRAGMENT
Additional content on build artifacts page- Since:
- 10.0
-
BUILD_ARTIFACTS_POPUP_FRAGMENT
@NonNls public static final PlaceId BUILD_ARTIFACTS_POPUP_FRAGMENT
Additional content in build artifacts popup- Since:
- 10.0
-
AGENTS_TAB
@NonNls public static final PlaceId AGENTS_TAB
Custom tab on the agents page
-
AGENT_DETAILS_TAB
@NonNls public static final PlaceId AGENT_DETAILS_TAB
Custom tab on agent details page
-
AGENT_SUMMARY
@NonNls public static final PlaceId AGENT_SUMMARY
Bottom part of agent summary page
-
PROJECT_TAB
@NonNls public static final PlaceId PROJECT_TAB
Custom tab on the project page.- See Also:
ProjectTab
-
PROJECT_FRAGMENT
@NonNls public static final PlaceId PROJECT_FRAGMENT
Custom content for project page - main overview tab.
-
PROJECT_STATS_FRAGMENT
@NonNls public static final PlaceId PROJECT_STATS_FRAGMENT
Custom content for project page - statistics tab.
-
EDIT_BUILD_RUNNER_SETTINGS_FRAGMENT
@NonNls public static final PlaceId EDIT_BUILD_RUNNER_SETTINGS_FRAGMENT
Edit build runner settings page (inserted at the bottom, before "Save" button)
-
VIEW_BUILD_RUNNER_SETTINGS_FRAGMENT
@NonNls public static final PlaceId VIEW_BUILD_RUNNER_SETTINGS_FRAGMENT
View build runner settings section ( all of the runner settings).
-
ADMIN_PROJECT_CREATE_BUILD_TYPE
@NonNls public static final PlaceId ADMIN_PROJECT_CREATE_BUILD_TYPE
Deprecated.is not used anymoreProject configuration page, accessible by administrator only.
-
ADMIN_PROJECTS_TAB
@Deprecated @NonNls public static final PlaceId ADMIN_PROJECTS_TAB
Deprecated.Custom tab on a projects configuration page, accessible by administrator only. Deprecated since 8.0, because main administrator page has been redesigned and tabs have been removed.- Since:
- 7.0
-
ADMIN_SERVER_CONFIGURATION
@NonNls public static final PlaceId ADMIN_SERVER_CONFIGURATION
Server configuration page, accessible by administrator only.
-
ADMIN_SERVER_CONFIGURATION_TAB
@NonNls public static final PlaceId ADMIN_SERVER_CONFIGURATION_TAB
Server configuration custom tab, accessible by administrator only.
-
ADMIN_SERVER_DIAGNOSTIC_TAB
@NonNls public static final PlaceId ADMIN_SERVER_DIAGNOSTIC_TAB
Server configuration diagnostic tab, accessible by administrator only.- Since:
- 7.0
-
ADMIN_USER_MANAGEMENT_TAB
@NonNls public static final PlaceId ADMIN_USER_MANAGEMENT_TAB
Custom tab on the user management pages (administration area)
-
CHANGE_DETAILS_BLOCK
@NonNls public static final PlaceId CHANGE_DETAILS_BLOCK
Details of a pending or build change. Corresponding SVcsModification instance is passed via request attribute with name "modification". Change block is also available on the change-log pages (build and project). See alsoChangeDetailsExtension
-
CHANGED_FILE_LINK
@NonNls public static final PlaceId CHANGED_FILE_LINK
With this extension point additional content for changed file in VCS change list can be provided. Two objects passed as request attributes will be available:- "modification" - of type
SVcsModificationfor corresponding VCS modification (change list) - "changedFile" - of type
VcsChangeInfofor current file from the change list
ChangeDetailsExtension - "modification" - of type
-
VCS_ROOT_IN_BUILD_NOTE
@NonNls public static final PlaceId VCS_ROOT_IN_BUILD_NOTE
Allows to provide additional presentation for a VCSRoot revision in a build (on Build Changes tab) Corresponding vcsRoot is passed via 'vcsRoot' request attribute. The content of the extension is shown within span element with class 'noteOnVcsRootInBuild' on build Changes tab in VCS Roots table.
-
CHANGE_DETAILS_TAB
@NonNls public static final PlaceId CHANGE_DETAILS_TAB
Represents a change details tab (below status).- Since:
- 5.0
-
BACKUP_PAGE_TAB
@NonNls public static final PlaceId BACKUP_PAGE_TAB
Backup page (in administration).- Since:
- 5.0
-
HEALTH_STATUS_ITEM
@NonNls public static final PlaceId HEALTH_STATUS_ITEM
Inspection result extension- Since:
- 8.0
-
EDIT_PROJECT_PAGE_TAB
@NonNls public static final PlaceId EDIT_PROJECT_PAGE_TAB
Edit project page (administration area)- Since:
- 5.0
-
EDIT_PROJECT_STORAGE_LIST_TOOLS
@NonNls public static final PlaceId EDIT_PROJECT_STORAGE_LIST_TOOLS
Custom tools section on Artifacts storage tab in Edit project page (now contains a link to the artifacts migration tool)- Since:
- 2024.12
-
CLOUD_IMAGE_DETAILS
@NonNls public static final PlaceId CLOUD_IMAGE_DETAILS
Cloud Image details section of 'Cloud' tab on agents page- Since:
- 5.0
-
ACCEPT_LICENSE_SETTING
@NonNls public static final PlaceId ACCEPT_LICENSE_SETTING
Additional setting on the license accepting page- Since:
- 6.5
- See Also:
LicenseAgreementListener
-
BEFORE_CONTENT
@NonNls public static final PlaceId BEFORE_CONTENT
Additional content that is inserted before page's content. Now this could also mean that this extension is between breadcrumbs and page content.- Since:
- 6.5
-
LOGIN_PAGE
@NonNls public static final PlaceId LOGIN_PAGE
Additional content that is added on login page.- Since:
- 7.1
-
LOGIN_PAGE_ICON
@NonNls public static final PlaceId LOGIN_PAGE_ICON
Additional content that is added on login page.- Since:
- 2020.2.3
-
TEST_DETAILS_BLOCK
@NonNls public static final PlaceId TEST_DETAILS_BLOCK
Extension point for the inline test details block (to the right of the stacktrace, if the test is failing). The following objects passed as request attributes will be available:- "loadedTestRun" - instance of
STestRunobject for the current test
- Since:
- 8.1
- "loadedTestRun" - instance of
-
TEST_HISTORY
@NonNls public static final PlaceId TEST_HISTORY
Extension point for the inline test history block ("Test History" project tab, between the "Success rate" and test history blocks). If investigation or mute information is available for the current test, the extension block will appear above any of the corresponding blocks. The following object(s) passed as request attributes will be available:
"test"- current test, of typeSTest.
- Since:
- 10.0
-
RUN_CUSTOM_PERSONAL_BUILD_FRAGMENT
public static final PlaceId RUN_CUSTOM_PERSONAL_BUILD_FRAGMENT
Allows injecting extra parameters for personal builds into "General" tab of the "Run Custom Build" dialog- Since:
- 2021.2
-
ADMIN_EDIT_BUILD_TYPE_ACTIONS_PAGE
@NonNls public static final PlaceId ADMIN_EDIT_BUILD_TYPE_ACTIONS_PAGE
Additional content that is added into build configuration/template actions menu- Since:
- 8.0
-
ADMIN_EDIT_PROJECT_ACTIONS_PAGE
@NonNls public static final PlaceId ADMIN_EDIT_PROJECT_ACTIONS_PAGE
Additional content that is added into project actions menu- Since:
- 10.0
-
ADMIN_EDIT_VCS_ROOT_ACTIONS_PAGE
@NonNls public static final PlaceId ADMIN_EDIT_VCS_ROOT_ACTIONS_PAGE
Additional content that is added into VCS root actions menu- Since:
- 2018.1
-
ADMIN_EDIT_BUILD_STEPS_ACTIONS_PAGE
@NonNls public static final PlaceId ADMIN_EDIT_BUILD_STEPS_ACTIONS_PAGE
Additional button in build configuration/template steps settings dialog.- Since:
- 8.0
-
ADMIN_SETUP_OBJECT_FROM_RESOURCE
@NonNls public static final PlaceId ADMIN_SETUP_OBJECT_FROM_RESOURCE
Extension point for setting up a project or build configuration from a resource located by some URL (seeSetupObjectFromResourcePageExtension).- Since:
- 9.1
-
ADMIN_CUSTOMIZE_VCS_ROOT
@NonNls public static final PlaceId ADMIN_CUSTOMIZE_VCS_ROOT
Extension point for customizing VSC root parameters while creating a project or build configuration from a repository URL (seeUrlSupport)- Since:
- 2021.1
-
ADMIN_LIST_REPOSITORIES
@NonNls public static final PlaceId ADMIN_LIST_REPOSITORIES
Extension point for registering controls providing repository listing abilities. The following parameters are passed to extension:showMode- can be "popup", "createProjectMenu", "createBuildTypeMenu"
- Since:
- 10.0
-
ADMIN_GLOBAL_SETTINGS_TAB
@NonNls public static final PlaceId ADMIN_GLOBAL_SETTINGS_TAB
Deprecated.is not used anymoreThe tab on the administration global settings page.- Since:
- 8.1
-
ADMIN_USAGES_FRAGMENT
public static final PlaceId ADMIN_USAGES_FRAGMENT
Entity usages page fragment extension.- Since:
- 2018.1
-
-
Constructor Detail
-
PlaceId
public PlaceId(@NotNull String id)Constructor.- Parameters:
id- place identifier
-
PlaceId
public PlaceId(@NotNull String id, @NotNull ExtensionAvailability availabilityHandler)Constructor.- Parameters:
id- place identifieravailabilityHandler- availability handler to use inmatches(HttpServletRequest)method
-
-
Method Detail
-
getAnchor
public String getAnchor()
Deprecated.since 2020.2 usegetId()insteadReturns second part of the place id: anchor- Returns:
- see above
-
getId
@NotNull public String getId()
- Returns:
- the place id
- Since:
- 2020.2
-
matches
public boolean matches(@NotNull javax.servlet.http.HttpServletRequest request)Returns true if page with specified request path contains extensions registered for this place id- Parameters:
request- http servlet request- Returns:
- see above
-
-