Class GitLabPushTrigger.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Trigger<?>>
hudson.triggers.TriggerDescriptor
com.dabsquared.gitlabjenkins.GitLabPushTrigger.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
GitLabPushTrigger

@Extension @Symbol("gitlab") public static class GitLabPushTrigger.DescriptorImpl extends TriggerDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isApplicable

      public boolean isApplicable(Item item)
      Specified by:
      isApplicable in class TriggerDescriptor
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Trigger<?>>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<Trigger<?>>
      Throws:
      Descriptor.FormException
    • doFillTriggerOpenMergeRequestOnPushItems

      public ListBoxModel doFillTriggerOpenMergeRequestOnPushItems(@QueryParameter String triggerOpenMergeRequestOnPush)
    • doAutoCompleteIncludeBranchesSpec

      public AutoCompletionCandidates doAutoCompleteIncludeBranchesSpec(@AncestorInPath Job<?,?> job, @QueryParameter String value)
    • doAutoCompleteExcludeBranchesSpec

      public AutoCompletionCandidates doAutoCompleteExcludeBranchesSpec(@AncestorInPath Job<?,?> job, @QueryParameter String value)
    • doCheckIncludeBranchesSpec

      public FormValidation doCheckIncludeBranchesSpec(@AncestorInPath Job<?,?> project, @QueryParameter String value)
    • doCheckExcludeBranchesSpec

      public FormValidation doCheckExcludeBranchesSpec(@AncestorInPath Job<?,?> project, @QueryParameter String value)
    • doAutoCompleteIncludeMergeRequestLabels

      public AutoCompletionCandidates doAutoCompleteIncludeMergeRequestLabels(@AncestorInPath Job<?,?> job, @QueryParameter String value)
    • doAutoCompleteExcludeMergeRequestLabels

      public AutoCompletionCandidates doAutoCompleteExcludeMergeRequestLabels(@AncestorInPath Job<?,?> job, @QueryParameter String value)
    • doCheckIncludeMergeRequestLabels

      public FormValidation doCheckIncludeMergeRequestLabels(@AncestorInPath Job<?,?> project, @QueryParameter String value)
    • doCheckExcludeMergeRequestLabels

      public FormValidation doCheckExcludeMergeRequestLabels(@AncestorInPath Job<?,?> project, @QueryParameter String value)
    • doGenerateSecretToken

      public void doGenerateSecretToken(@AncestorInPath Job<?,?> project, org.kohsuke.stapler.StaplerResponse2 response)
    • doClearSecretToken

      public void doClearSecretToken(@AncestorInPath Job<?,?> project, org.kohsuke.stapler.StaplerResponse2 response)