Class PlaceId
- java.lang.Object
-
- jetbrains.buildServer.web.openapi.PlaceId
-
public final class PlaceId extends java.lang.Object
Page place identifier points to a place on a number of pages where aPageExtension
content 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 PlaceId
ACCEPT_LICENSE_SETTING
Additional setting on the license accepting pagestatic PlaceId
ADMIN_CUSTOMIZE_VCS_ROOT
Extension point for customizing VSC root parameters while creating a project or build configuration from a repository URL (seeUrlSupport
)static PlaceId
ADMIN_EDIT_BUILD_STEPS_ACTIONS_PAGE
Additional button in build configuration/template steps settings dialog.static PlaceId
ADMIN_EDIT_BUILD_TYPE_ACTIONS_PAGE
Additional content that is added into build configuration/template actions menustatic PlaceId
ADMIN_EDIT_PROJECT_ACTIONS_PAGE
Additional content that is added into project actions menustatic PlaceId
ADMIN_EDIT_VCS_ROOT_ACTIONS_PAGE
Additional content that is added into VCS root actions menustatic PlaceId
ADMIN_GLOBAL_SETTINGS_TAB
Deprecated.is not used anymorestatic PlaceId
ADMIN_LIST_REPOSITORIES
Extension point for registering controls providing repository listing abilities.static PlaceId
ADMIN_PROJECT_CREATE_BUILD_TYPE
Deprecated.is not used anymorestatic PlaceId
ADMIN_PROJECTS_TAB
Deprecated.static PlaceId
ADMIN_SERVER_CONFIGURATION
Server configuration page, accessible by administrator only.static PlaceId
ADMIN_SERVER_CONFIGURATION_TAB
Server configuration custom tab, accessible by administrator only.static PlaceId
ADMIN_SERVER_DIAGNOSTIC_TAB
Server configuration diagnostic tab, accessible by administrator only.static PlaceId
ADMIN_SETUP_OBJECT_FROM_RESOURCE
Extension point for setting up a project or build configuration from a resource located by some URL (seeSetupObjectFromResourcePageExtension
).static PlaceId
ADMIN_USAGES_FRAGMENT
Entity usages page fragment extension.static PlaceId
ADMIN_USER_MANAGEMENT_TAB
Custom tab on the user management pages (administration area)static PlaceId
AGENT_DETAILS_TAB
Custom tab on agent details pagestatic PlaceId
AGENT_SUMMARY
Bottom part of agent summary pagestatic PlaceId
AGENTS_TAB
Custom tab on the agents pagestatic PlaceId
ALL_PAGES_FOOTER
Footer of all of the pages shown to authenticated users.static PlaceId
ALL_PAGES_FOOTER_PLUGIN_CONTAINER
Footer of all of the pages shown to authenticated users, supposed to contain lazy-initializing plugin partsstatic PlaceId
ALL_PAGES_HEADER
Header of all of the pages shown to authenticated users (within <head> tag).static PlaceId
BACKUP_PAGE_TAB
Backup page (in administration).static PlaceId
BEFORE_CONTENT
Additional content that is inserted before page's content.static PlaceId
BUILD_ACTIONS
Build action liststatic PlaceId
BUILD_ARTIFACTS_FRAGMENT
Additional content on build artifacts pagestatic PlaceId
BUILD_ARTIFACTS_POPUP_FRAGMENT
Additional content in build artifacts popupstatic PlaceId
BUILD_CONF_ACTIONS
Build configuration action liststatic 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 instancestatic PlaceId
BUILD_CONF_TAB
Custom tab on the build configuration page.static PlaceId
BUILD_RESULTS_BUILD_PROBLEM
Custom build problem rendering see BuildResultsBuildProblemRenderer helper classstatic 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 instancestatic PlaceId
BUILD_RESULTS_TAB
Custom tab on the build results page.static PlaceId
BUILD_SUMMARY
Build summary section of a build results page.static PlaceId
CHANGE_DETAILS_BLOCK
Details of a pending or build change.static PlaceId
CHANGE_DETAILS_TAB
Represents a change details tab (below status).static PlaceId
CHANGED_FILE_LINK
With this extension point additional content for changed file in VCS change list can be provided.static PlaceId
CLOUD_IMAGE_DETAILS
Cloud Image details section of 'Cloud' tab on agents pagestatic PlaceId
EDIT_BUILD_RUNNER_SETTINGS_FRAGMENT
Edit build runner settings page (inserted at the bottom, before "Save" button)static PlaceId
EDIT_PROJECT_PAGE_TAB
Edit project page (administration area)static PlaceId
HEALTH_STATUS_ITEM
Inspection result extensionstatic PlaceId
LOGIN_PAGE
Additional content that is added on login page.static PlaceId
LOGIN_PAGE_ICON
Additional content that is added on login page.static PlaceId
MY_SETTINGS_NOTIFIER_SECTION
Section with notifiers on the "My settings" page.static PlaceId
MY_TOOLS_SECTION
TeamCity add-ons / tools section on my settings page (now it contains links to IDE plugins and tray notifier)static PlaceId
MY_TOOLS_TABS
Custom tab on "My settings" pagestatic PlaceId
NOTIFIER_SETTINGS_FRAGMENT
Notifier settings page for the particular user and notifier.static PlaceId
ORPHAN_BUILD_TAB
Custom tab on the orphan build page (build from a deleted build configuration).static PlaceId
PROJECT_FRAGMENT
Custom content for project page - main overview tab.static PlaceId
PROJECT_STATS_FRAGMENT
Custom content for project page - statistics tab.static PlaceId
PROJECT_TAB
Custom tab on the project page.static PlaceId
RUN_CUSTOM_PERSONAL_BUILD_FRAGMENT
Allows injecting extra parameters for personal builds into "General" tab of the "Run Custom Build" dialogstatic PlaceId
TEST_DETAILS_BLOCK
Extension point for the inline test details block (to the right of the stacktrace, if the test is failing).static PlaceId
TEST_HISTORY
Extension point for the inline test history block ("Test History" project tab, between the "Success rate" and test history blocks).static 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.static PlaceId
VIEW_BUILD_RUNNER_SETTINGS_FRAGMENT
View build runner settings section ( all of the runner settings).
-
Constructor Summary
Constructors Constructor Description PlaceId(java.lang.String id)
Constructor.PlaceId(java.lang.String id, ExtensionAvailability availabilityHandler)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getAnchor()
Deprecated.since 2020.2 usegetId()
insteadjava.lang.String
getId()
int
hashCode()
boolean
matches(javax.servlet.http.HttpServletRequest request)
Returns true if page with specified request path contains extensions registered for this place idjava.lang.String
toString()
-
-
-
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
SVcsModification
for corresponding VCS modification (change list) - "changedFile" - of type
VcsChangeInfo
for 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
-
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
STestRun
object 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 java.lang.String id)
Constructor.- Parameters:
id
- place identifier
-
PlaceId
public PlaceId(@NotNull java.lang.String id, @NotNull ExtensionAvailability availabilityHandler)
Constructor.- Parameters:
id
- place identifieravailabilityHandler
- availability handler to use inmatches(HttpServletRequest)
method
-
-
Method Detail
-
getAnchor
public java.lang.String getAnchor()
Deprecated.since 2020.2 usegetId()
insteadReturns second part of the place id: anchor- Returns:
- see above
-
getId
@NotNull public java.lang.String getId()
- Returns:
- the place id
- Since:
- 2020.2
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-