Class AbstractWebHookTriggerHandler<H extends WebHook>

    • Constructor Detail

      • AbstractWebHookTriggerHandler

        public AbstractWebHookTriggerHandler()
    • Method Detail

      • getTriggerType

        protected abstract String getTriggerType()
      • isCiSkip

        protected abstract boolean isCiSkip​(H hook)
      • createActions

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

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

        protected abstract CauseData retrieveCauseData​(H hook)
      • getSourceBranch

        protected abstract String getSourceBranch​(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)