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
ConstructorDescriptionGitLabSCMSourceContext
(jenkins.scm.api.SCMSourceCriteria criteria, jenkins.scm.api.SCMHeadObserver observer) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
final boolean
boolean
final Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy>
final String
boolean
final String
boolean
final boolean
final boolean
final String
final boolean
final boolean
newRequest
(jenkins.scm.api.SCMSource source, TaskListener listener) final boolean
final Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy>
final boolean
final GitLabHookRegistration
final GitLabSCMSourceContext
final boolean
wantBranches
(boolean include) final boolean
wantForkMRs
(boolean include) final boolean
wantMRs()
final boolean
wantOriginMRs
(boolean include) final boolean
wantTags()
wantTags
(boolean include) final GitLabHookRegistration
final GitLabSCMSourceContext
final GitLabSCMSourceContext
withAlwaysBuildMROpen
(boolean enabled) final GitLabSCMSourceContext
withAlwaysBuildMRReOpen
(boolean enabled) final GitLabSCMSourceContext
withAlwaysIgnoreMRApproval
(boolean enabled) final GitLabSCMSourceContext
withAlwaysIgnoreMRApproved
(boolean enabled) final GitLabSCMSourceContext
withAlwaysIgnoreMRUnApproval
(boolean enabled) final GitLabSCMSourceContext
withAlwaysIgnoreMRUnApproved
(boolean enabled) final GitLabSCMSourceContext
withAlwaysIgnoreMRWorkInProgress
(boolean enabled) final GitLabSCMSourceContext
withAlwaysIgnoreNonCodeRelatedUpdates
(boolean enabled) final GitLabSCMSourceContext
withBuildMRForksNotMirror
(boolean disabled) final GitLabSCMSourceContext
withBuildStatusNameCustomPart
(String buildStatusNameCustomPart) final GitLabSCMSourceContext
withBuildStatusNameOverwrite
(Boolean buildStatusNameOverwrite) final GitLabSCMSourceContext
withCommentBody
(String commentBody) withForkMRStrategies
(Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy> strategies) final GitLabSCMSourceContext
withIgnoreTypeInStatusName
(Boolean ignoreTypeInStatusName) final GitLabSCMSourceContext
withLogCommentEnabled
(boolean enabled) final GitLabSCMSourceContext
withLogSuccess
(boolean enabled) final GitLabSCMSourceContext
withMarkUnstableAsSuccess
(boolean disabled) final GitLabSCMSourceContext
withMRCommentTriggerEnabled
(boolean enabled) final GitLabSCMSourceContext
withNotificationsDisabled
(boolean disabled) final GitLabSCMSourceContext
withOnlyTrustedMembersCanTrigger
(boolean enabled) withOriginMRStrategies
(Set<jenkins.scm.api.mixin.ChangeRequestCheckoutStrategy> strategies) final GitLabSCMSourceContext
withProjectAvatarDisabled
(boolean disabled) final GitLabSCMSourceContext
withSudoUser
(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:
newRequest
in classjenkins.scm.api.trait.SCMSourceContext<GitLabSCMSourceContext,
GitLabSCMSourceRequest>
-
withAlwaysBuildMROpen
-
withAlwaysBuildMRReOpen
-
withAlwaysIgnoreMRApproval
-
withAlwaysIgnoreMRUnApproval
-
withAlwaysIgnoreMRApproved
-
withAlwaysIgnoreMRUnApproved
-
withAlwaysIgnoreNonCodeRelatedUpdates
-
withAlwaysIgnoreMRWorkInProgress
-