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
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected booleanWhen 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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.booleanWhether a missing job match should trigger a rescan-and-retry.jobDecorator(Class<P> clazz) voidsetAllowUntrusted(boolean allowUntrusted) Deprecated.voidsetMinimumPermissions(String minimumPermissions) voidsetRescanOnMissingJob(boolean rescanOnMissingJob) Methods inherited from class jenkins.branch.BranchProperty
asArrayList, decorator, decorator, getDescriptor
-
Field Details
-
allowUntrusted
protected boolean allowUntrusted -
minimumPermissions
-
rescanOnMissingJob
protected boolean rescanOnMissingJobWhen 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. -
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
Deprecated. -
setMinimumPermissions
-
getMinimumPermissions
-
jobDecorator
public <P extends Job<P,B>, jenkins.branch.JobDecorator<P,B extends Run<P, B>> B> jobDecorator(Class<P> clazz) - Overrides:
jobDecoratorin classjenkins.branch.BranchProperty
-