Class BranchesPopupController
- java.lang.Object
 - 
- org.springframework.context.support.ApplicationObjectSupport
 - 
- org.springframework.web.context.support.WebApplicationObjectSupport
 - 
- org.springframework.web.servlet.support.WebContentGenerator
 - 
- org.springframework.web.servlet.mvc.AbstractController
 - 
- jetbrains.buildServer.controllers.BaseController
 - 
- jetbrains.buildServer.controllers.BasePopupController
 - 
- jetbrains.buildServer.controllers.admin.BranchesPopupController
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 BranchFilterHelperExtension,ServerExtension,TeamCityExtension,PositionAware,PositionConstraintAware,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.web.context.ServletContextAware,org.springframework.web.servlet.mvc.Controller
public class BranchesPopupController extends BasePopupController implements BranchFilterHelperExtension, PositionAware
 
- 
- 
Field Summary
- 
Fields inherited from class jetbrains.buildServer.controllers.BaseController
myServer 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BranchesPopupController(ProjectManagerEx projectManager, EditBuildTypeFormFactory buildTypeFormFactory) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfillModel(javax.servlet.http.HttpServletRequest request, org.springframework.web.servlet.ModelAndView mv)Fill the model with data.PositionConstraintgetConstraint()Constraint to be respected during objects sorting.StringgetDisplayName()StringgetId()StringgetJspPath()StringgetOrderId()Returns object id that can be referenced by {PositionConstraint}protected org.springframework.web.servlet.ModelAndViewprocessRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Performs actual request processing.- 
Methods inherited from class jetbrains.buildServer.controllers.BasePopupController
doHandle 
- 
Methods inherited from class jetbrains.buildServer.controllers.BaseController
getOrCreateMessages, handleRequest, handleRequestInternal, isGet, isPost, redirectTo, setExceptionResolvers, simpleView 
- 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
isSynchronizeOnSession, setSynchronizeOnSession 
- 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders 
- 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
BranchesPopupController
public BranchesPopupController(@NotNull ProjectManagerEx projectManager, @NotNull EditBuildTypeFormFactory buildTypeFormFactory) 
 - 
 
- 
Method Detail
- 
processRequest
@Nullable protected org.springframework.web.servlet.ModelAndView processRequest(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull javax.servlet.http.HttpServletResponse response)Description copied from class:BasePopupControllerPerforms actual request processing.- Specified by:
 processRequestin classBasePopupController- Parameters:
 request- HTTP requestresponse- HTTP response- Returns:
 - model and view components
 
 
- 
fillModel
public boolean fillModel(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull org.springframework.web.servlet.ModelAndView mv)Description copied from interface:BranchFilterHelperExtensionFill the model with data. It's better to use some prefix so that names won't intercect between extensions- Specified by:
 fillModelin interfaceBranchFilterHelperExtension- Returns:
 - true if should include extension page in helper, false otherwise
 
 
- 
getDisplayName
@NotNull public String getDisplayName()
- Specified by:
 getDisplayNamein interfaceBranchFilterHelperExtension- Returns:
 - The name that will be displayed in the ui
 
 
- 
getJspPath
@NotNull public String getJspPath()
- Specified by:
 getJspPathin interfaceBranchFilterHelperExtension
 
- 
getId
@NotNull public String getId()
- Specified by:
 getIdin interfaceBranchFilterHelperExtension- Returns:
 - unique id of the extension without spaces
 
 
- 
getOrderId
@NotNull public String getOrderId()
Description copied from interface:PositionAwareReturns object id that can be referenced by {PositionConstraint}- Specified by:
 getOrderIdin interfacePositionAware- Returns:
 - object id
 
 
- 
getConstraint
@NotNull public PositionConstraint getConstraint()
Description copied from interface:PositionConstraintAwareConstraint to be respected during objects sorting.- Specified by:
 getConstraintin interfacePositionConstraintAware- Returns:
 - position constraint
 
 
 - 
 
 -