Package jetbrains.buildServer.web.impl
Class PagePlacesRegistry
- java.lang.Object
-
- jetbrains.buildServer.web.impl.PagePlacesRegistry
-
- All Implemented Interfaces:
PagePlaces
,PagePlacesEx
public class PagePlacesRegistry extends Object implements PagePlacesEx
- Author:
- Pavel.Sher Date: 25.12.2007
-
-
Constructor Summary
Constructors Constructor Description PagePlacesRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PagePlace>
getPagePlaces(javax.servlet.http.HttpServletRequest request)
PagePlace
getPlaceById(PlaceId pagePlaceId)
Returns page place having the specified idList<PlaceId>
getRegisteredPlaceIds()
void
registerPlaceId(PlaceId placeId)
Registers a new place id so thatPagePlacesEx.getRegisteredPlaceIds()
could return it.
-
-
-
Method Detail
-
getPlaceById
@NotNull public PagePlace getPlaceById(@NotNull PlaceId pagePlaceId)
Description copied from interface:PagePlaces
Returns page place having the specified id- Specified by:
getPlaceById
in interfacePagePlaces
- Parameters:
pagePlaceId
- id of the page place- Returns:
- page place with the specified id
-
getPagePlaces
@NotNull public List<PagePlace> getPagePlaces(@NotNull javax.servlet.http.HttpServletRequest request)
- Specified by:
getPagePlaces
in interfacePagePlacesEx
-
getRegisteredPlaceIds
@NotNull public List<PlaceId> getRegisteredPlaceIds()
- Specified by:
getRegisteredPlaceIds
in interfacePagePlacesEx
- Returns:
- all known Place ids:
- all PlaceId constants from
PlaceId
- all registered place ids via
PagePlacesEx.registerPlaceId(PlaceId)
- all registered place ids via
PagePlaces.getPlaceById(PlaceId)
- all PlaceId constants from
-
registerPlaceId
public void registerPlaceId(@NotNull PlaceId placeId)
Description copied from interface:PagePlacesEx
Registers a new place id so thatPagePlacesEx.getRegisteredPlaceIds()
could return it. Has the same effect asPagePlaces.getPlaceById(PlaceId)
.- Specified by:
registerPlaceId
in interfacePagePlacesEx
- Parameters:
placeId
- place id to register
-
-