Class AbstractWebHookTriggerHandler<H extends WebHook>

    • Constructor Detail

      • AbstractWebHookTriggerHandler

        public AbstractWebHookTriggerHandler()
    • Method Detail

      • getTriggerType

        protected abstract String getTriggerType()
      • isCommitSkip

        protected abstract boolean isCommitSkip​(Job<?,​?> job,
                                                H hook)
      • createActions

        protected Action[] createActions​(Job<?,​?> job,
                                         H hook)
      • cancelPendingBuildsIfNecessary

        protected void cancelPendingBuildsIfNecessary​(Job<?,​?> job,
                                                      H hook)
      • cancelIncompleteBuildIfNecessary

        protected void cancelIncompleteBuildIfNecessary​(Job<?,​?> job,
                                                        H hook)
      • retrieveCauseData

        protected abstract CauseData retrieveCauseData​(H hook)
      • getTargetBranch

        protected abstract String getTargetBranch​(H hook)
      • retrieveUrIish

        protected org.eclipse.jgit.transport.URIish retrieveUrIish​(WebHook hook)
      • scheduleBuild

        protected void scheduleBuild​(Job<?,​?> job,
                                     Action[] actions)
      • doStop

        protected void doStop​(Run<?,​?> build)
                       throws IOException,
                              javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException