|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.web.openapi.PlaceId
public class PlaceId
Page place identifier points to a place on a number of pages where a PageExtension content should be shown.
Identifier consists of two parts:
<path>#<anchor>, where <path> corresponds to a number of pages having the specified path,
and <anchor> is a concrete place on these pages
<path> is optional, in this case identifier corresponds to all of the pages containing the specified anchor.
There is a convention for <anchor> names, they should have the following format: <name>[@<type>],
where [@<type>] is optional part identifying the type of the place. Currently there are two types: simple page extension (PageExtension)
and custom tab (CustomTab). For simple page extensions type is not required, while for custom tabs @TAB should be used.
| Field Summary | |
|---|---|
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_USER_MANAGEMENT_TAB
Custom tab on the user management pages (administration area) |
static PlaceId |
AGENT_DETAILS_TAB
Custom tab on agent details page |
static PlaceId |
AGENT_SUMMARY
Bottom part of agent summary page |
static PlaceId |
AGENTS_TAB
Custom tab on the agents page |
static PlaceId |
ALL_PAGES_FOOTER
Footer of all of the pages shown to authenticated users. |
static PlaceId |
ALL_PAGES_HEADER
Header of all of the pages shown to authenticated users (within <head> tag). |
static PlaceId |
BUILD_CONF_STATISTICS_FRAGMENT
Additional content on BuildType Statistics tab You can also use method BuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer) to get corresponding build instance |
static PlaceId |
BUILD_CONF_TAB
Custom tab on the build configuration page. |
static PlaceId |
BUILD_RESULTS_FRAGMENT
Additional content on build results page (overview tab) below build summary section You can also use method BuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer) to get corresponding build instance |
static 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 |
CHANGED_FILE_LINK
With this extension point additional content for changed file in VCS change list can be provided. |
static PlaceId |
EDIT_BUILD_RUNNER_SETTINGS_FRAGMENT
Edit build runner settings page (inserted at the bottom, before "Save" button) |
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 |
NOTIFIER_SETTINGS_FRAGMENT
Notifier settings page for the particular user and notifier. |
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 |
VIEW_BUILD_RUNNER_SETTINGS_FRAGMENT
View build runner settings section (after all of the runner settings). |
| Constructor Summary | |
|---|---|
PlaceId(java.util.Collection<java.lang.String> paths,
java.lang.String anchor)
Constructor. |
|
PlaceId(java.lang.String placeId)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAnchor()
Returns second part of the place id: anchor |
boolean |
matches(java.lang.String path)
Returns true if page with specified request path contains extensions registered for this place id |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@NonNls public static final PlaceId ALL_PAGES_HEADER
@NonNls public static final PlaceId ALL_PAGES_FOOTER
@NonNls public static final PlaceId MY_TOOLS_SECTION
@NonNls public static final PlaceId BUILD_SUMMARY
BuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer) to get corresponding build instance
as helper class to create such tabs@NonNls public static final PlaceId BUILD_RESULTS_FRAGMENT
BuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer) to get corresponding build instance
as helper class to create such tabs@NonNls public static final PlaceId BUILD_CONF_STATISTICS_FRAGMENT
BuildDataExtensionUtil.retrieveBuild(javax.servlet.http.HttpServletRequest, jetbrains.buildServer.serverSide.SBuildServer) to get corresponding build instance
@NonNls public static final PlaceId MY_SETTINGS_NOTIFIER_SECTION
@NonNls public static final PlaceId NOTIFIER_SETTINGS_FRAGMENT
@NonNls public static final PlaceId BUILD_CONF_TAB
BuildTypeTab@NonNls public static final PlaceId BUILD_RESULTS_TAB
@NonNls public static final PlaceId AGENTS_TAB
@NonNls public static final PlaceId AGENT_DETAILS_TAB
@NonNls public static final PlaceId AGENT_SUMMARY
@NonNls public static final PlaceId PROJECT_TAB
ProjectTab@NonNls public static final PlaceId PROJECT_FRAGMENT
@NonNls public static final PlaceId PROJECT_STATS_FRAGMENT
@NonNls public static final PlaceId EDIT_BUILD_RUNNER_SETTINGS_FRAGMENT
@NonNls public static final PlaceId VIEW_BUILD_RUNNER_SETTINGS_FRAGMENT
@NonNls public static final PlaceId ADMIN_SERVER_CONFIGURATION
@NonNls public static final PlaceId ADMIN_SERVER_CONFIGURATION_TAB
@NonNls public static final PlaceId ADMIN_USER_MANAGEMENT_TAB
@NonNls public static final PlaceId CHANGE_DETAILS_BLOCK
ChangeDetailsExtension
@NonNls public static final PlaceId CHANGED_FILE_LINK
SVcsModification for corresponding VCS modification (change list)VcsChangeInfo for current file from the change listChangeDetailsExtension
| Constructor Detail |
|---|
public PlaceId(@NotNull
java.lang.String placeId)
placeId - place identifier
public PlaceId(@NotNull
java.util.Collection<java.lang.String> paths,
@NotNull
java.lang.String anchor)
paths - paths corresponding to this place identifieranchor - anchor| Method Detail |
|---|
public java.lang.String getAnchor()
public java.lang.String toString()
toString in class java.lang.Object
public boolean matches(@NotNull
java.lang.String path)
path - request path
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||