Class PublishDiffChangesController
- 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.changes.PublishChangesController
-
- jetbrains.buildServer.controllers.changes.PublishDiffChangesController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
public class PublishDiffChangesController extends PublishChangesController
Controller for storing personal changes in unified diff format.- Since:
- 2019.1
- Author:
- Mikhail Khorkov
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.controllers.BaseController
myServer
-
-
Constructor Summary
Constructors Constructor Description PublishDiffChangesController(SBuildServer server, UserModelEx userModel, SecurityContextEx securityContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
publish(long userId, String messageParam, PreTestedCommitType commitType, InputStream input)
-
Methods inherited from class jetbrains.buildServer.controllers.changes.PublishChangesController
doHandle, publishChanges
-
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
-
PublishDiffChangesController
public PublishDiffChangesController(@NotNull SBuildServer server, @NotNull UserModelEx userModel, @NotNull SecurityContextEx securityContext)
-
-
Method Detail
-
publish
protected long publish(long userId, @NotNull String messageParam, @NotNull PreTestedCommitType commitType, @NotNull InputStream input) throws IOException
- Specified by:
publish
in classPublishChangesController
- Throws:
IOException
-
-