Class GitLabSCMSourceContext
java.lang.Object
jenkins.scm.api.trait.SCMSourceContext<GitLabSCMSourceContext,GitLabSCMSourceRequest>
io.jenkins.plugins.gitlabbranchsource.GitLabSCMSourceContext
public class GitLabSCMSourceContext
extends jenkins.scm.api.trait.SCMSourceContext<GitLabSCMSourceContext,GitLabSCMSourceRequest>
-
Constructor Summary
ConstructorsConstructorDescriptionGitLabSCMSourceContext(jenkins.scm.api.SCMSourceCriteria criteria, jenkins.scm.api.SCMHeadObserver observer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfinal booleanbooleanfinal Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy>final Stringbooleanfinal Stringbooleanfinal booleanfinal booleanfinal Stringfinal booleanfinal booleannewRequest(jenkins.scm.api.SCMSource source, TaskListener listener) final booleanfinal Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy>final booleanfinal GitLabHookRegistrationfinal GitLabSCMSourceContextfinal booleanwantBranches(boolean include) final booleanwantForkMRs(boolean include) final booleanwantMRs()final booleanwantOriginMRs(boolean include) final booleanwantTags()wantTags(boolean include) final GitLabHookRegistrationfinal GitLabSCMSourceContextfinal GitLabSCMSourceContextwithAlwaysBuildMROpen(boolean enabled) final GitLabSCMSourceContextwithAlwaysBuildMRReOpen(boolean enabled) final GitLabSCMSourceContextwithAlwaysIgnoreMRApproval(boolean enabled) final GitLabSCMSourceContextwithAlwaysIgnoreMRApproved(boolean enabled) final GitLabSCMSourceContextwithAlwaysIgnoreMRUnApproval(boolean enabled) final GitLabSCMSourceContextwithAlwaysIgnoreMRUnApproved(boolean enabled) final GitLabSCMSourceContextwithAlwaysIgnoreMRWorkInProgress(boolean enabled) final GitLabSCMSourceContextwithAlwaysIgnoreNonCodeRelatedUpdates(boolean enabled) final GitLabSCMSourceContextwithBuildMRForksNotMirror(boolean disabled) final GitLabSCMSourceContextwithBuildStatusNameCustomPart(String buildStatusNameCustomPart) final GitLabSCMSourceContextwithBuildStatusNameOverwrite(Boolean buildStatusNameOverwrite) final GitLabSCMSourceContextwithCommentBody(String commentBody) withForkMRStrategies(Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy> strategies) final GitLabSCMSourceContextwithIgnoreTypeInStatusName(Boolean ignoreTypeInStatusName) final GitLabSCMSourceContextwithLogCommentEnabled(boolean enabled) final GitLabSCMSourceContextwithLogSuccess(boolean enabled) final GitLabSCMSourceContextwithMarkUnstableAsSuccess(boolean disabled) final GitLabSCMSourceContextwithMRCommentTriggerEnabled(boolean enabled) final GitLabSCMSourceContextwithNotificationsDisabled(boolean disabled) final GitLabSCMSourceContextwithOnlyTrustedMembersCanTrigger(boolean enabled) withOriginMRStrategies(Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy> strategies) final GitLabSCMSourceContextwithProjectAvatarDisabled(boolean disabled) final GitLabSCMSourceContextwithSudoUser(String sudoUser) Methods inherited from class jenkins.scm.api.trait.SCMSourceContext
authorities, criteria, filters, observer, prefilters, withAuthority, withCriteria, withFilter, withPrefilter, withTrait, withTraits, withTraits
-
Constructor Details
-
GitLabSCMSourceContext
public GitLabSCMSourceContext(@CheckForNull jenkins.scm.api.SCMSourceCriteria criteria, @NonNull jenkins.scm.api.SCMHeadObserver observer)
-
-
Method Details
-
wantBranches
public final boolean wantBranches() -
wantTags
public final boolean wantTags() -
wantMRs
public final boolean wantMRs() -
wantOriginMRs
public final boolean wantOriginMRs() -
wantForkMRs
public final boolean wantForkMRs() -
originMRStrategies
-
forkMRStrategies
-
webhookRegistration
-
systemhookRegistration
-
buildMRForksNotMirror
public final boolean buildMRForksNotMirror() -
notificationsDisabled
public final boolean notificationsDisabled() -
projectAvatarDisabled
public final boolean projectAvatarDisabled() -
logCommentEnabled
public final boolean logCommentEnabled() -
getSudoUser
-
doLogSuccess
public boolean doLogSuccess() -
mrCommentTriggerEnabled
public final boolean mrCommentTriggerEnabled() -
getOnlyTrustedMembersCanTrigger
public final boolean getOnlyTrustedMembersCanTrigger() -
getMarkUnstableAsSuccess
public final boolean getMarkUnstableAsSuccess() -
alwaysBuildMROpen
public boolean alwaysBuildMROpen() -
alwaysBuildMRReOpen
public boolean alwaysBuildMRReOpen() -
alwaysIgnoreMRApproval
public boolean alwaysIgnoreMRApproval() -
alwaysIgnoreMRUnApproval
public boolean alwaysIgnoreMRUnApproval() -
alwaysIgnoreMRApproved
public boolean alwaysIgnoreMRApproved() -
alwaysIgnoreMRUnApproved
public boolean alwaysIgnoreMRUnApproved() -
alwaysIgnoreNonCodeRelatedUpdates
public boolean alwaysIgnoreNonCodeRelatedUpdates() -
alwaysIgnoreMRWorkInProgress
public boolean alwaysIgnoreMRWorkInProgress() -
getCommentBody
-
getBuildStatusNameCustomPart
-
getBuildStatusNameOverwrite
public boolean getBuildStatusNameOverwrite() -
getIgnoreTypeInStatusName
public boolean getIgnoreTypeInStatusName() -
wantBranches
-
wantTags
-
wantOriginMRs
-
wantForkMRs
-
withOriginMRStrategies
@NonNull public GitLabSCMSourceContext withOriginMRStrategies(Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy> strategies) -
withForkMRStrategies
@NonNull public GitLabSCMSourceContext withForkMRStrategies(Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy> strategies) -
webhookRegistration
-
systemhookRegistration
-
withBuildMRForksNotMirror
-
withNotificationsDisabled
-
withProjectAvatarDisabled
-
withMarkUnstableAsSuccess
-
withLogCommentEnabled
-
withMRCommentTriggerEnabled
-
withOnlyTrustedMembersCanTrigger
-
withSudoUser
-
withLogSuccess
-
withCommentBody
-
withBuildStatusNameCustomPart
@NonNull public final GitLabSCMSourceContext withBuildStatusNameCustomPart(String buildStatusNameCustomPart) -
withBuildStatusNameOverwrite
-
withIgnoreTypeInStatusName
-
newRequest
@NonNull public GitLabSCMSourceRequest newRequest(@NonNull jenkins.scm.api.SCMSource source, @CheckForNull TaskListener listener) - Specified by:
newRequestin classjenkins.scm.api.trait.SCMSourceContext<GitLabSCMSourceContext,GitLabSCMSourceRequest>
-
withAlwaysBuildMROpen
-
withAlwaysBuildMRReOpen
-
withAlwaysIgnoreMRApproval
-
withAlwaysIgnoreMRUnApproval
-
withAlwaysIgnoreMRApproved
-
withAlwaysIgnoreMRUnApproved
-
withAlwaysIgnoreNonCodeRelatedUpdates
-
withAlwaysIgnoreMRWorkInProgress
-