Class TriggerBranchProperty

java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.BranchProperty>
jenkins.branch.BranchProperty
com.adobe.jenkins.github_pr_comment_build.TriggerBranchProperty
All Implemented Interfaces:
ExtensionPoint, Describable<jenkins.branch.BranchProperty>
Direct Known Subclasses:
TriggerPRCheckRunBranchProperty, TriggerPRCommentBranchProperty, TriggerPRLabelBranchProperty, TriggerPRReviewBranchProperty, TriggerPRUpdateBranchProperty

public abstract class TriggerBranchProperty extends jenkins.branch.BranchProperty
Common parts of TriggerPR*BranchProperty classes
  • Field Details

    • allowUntrusted

      protected boolean allowUntrusted
    • minimumPermissions

      protected String minimumPermissions
    • rescanOnMissingJob

      protected boolean rescanOnMissingJob
      When true, and this event did not match any existing job, request a rescan of the owning multibranch project (to pick up a PR whose job was not yet indexed) and retry the match a few times in the background. Defaults to false so existing installs see no behavior change.
  • Constructor Details

    • TriggerBranchProperty

      public TriggerBranchProperty()
  • Method Details

    • isAllowUntrusted

      @Deprecated public boolean isAllowUntrusted()
      Deprecated.
    • isRescanOnMissingJob

      public boolean isRescanOnMissingJob()
      Whether a missing job match should trigger a rescan-and-retry.
      Returns:
      true if a rescan-and-retry should be attempted when no job is found
    • setRescanOnMissingJob

      @DataBoundSetter public void setRescanOnMissingJob(boolean rescanOnMissingJob)
    • setAllowUntrusted

      @DataBoundSetter @Deprecated public void setAllowUntrusted(boolean allowUntrusted)
      Deprecated.
    • setMinimumPermissions

      @DataBoundSetter public void setMinimumPermissions(String minimumPermissions)
    • getMinimumPermissions

      public String getMinimumPermissions()
    • jobDecorator

      public <P extends Job<P, B>, B extends Run<P, B>> jenkins.branch.JobDecorator<P,B> jobDecorator(Class<P> clazz)
      Overrides:
      jobDecorator in class jenkins.branch.BranchProperty