Class GitLabPushTriggerBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.builder.generated.GitLabPushTriggerBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected GitLabPushTriggerBuilder
protected boolean
protected boolean
protected boolean
protected boolean
protected String
protected BranchFilterType
protected boolean
protected boolean
protected String
protected String
protected String
protected MergeRequestLabelFilterConfig
protected String
protected String
protected String
protected boolean
protected boolean
protected String
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected TriggerOpenMergeRequest
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newGitLabPushTrigger
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static GitLabPushTriggerBuilder
Factory Method to construct a GitLabPushTriggerBuilderwithAcceptMergeRequestOnSuccess
(boolean value) Sets the default value for the acceptMergeRequestOnSuccess property.withAddCiMessage
(boolean value) Sets the default value for the addCiMessage property.withAddNoteOnMergeRequest
(boolean value) Sets the default value for the addNoteOnMergeRequest property.withAddVoteOnMergeRequest
(boolean value) Sets the default value for the addVoteOnMergeRequest property.withBranchFilterName
(String value) Sets the default value for the branchFilterName property.Sets the default value for the branchFilterType property.withCancelPendingBuildsOnUpdate
(boolean value) Sets the default value for the cancelPendingBuildsOnUpdate property.withCiSkip
(boolean value) Sets the default value for the ciSkip property.withExcludeBranchesSpec
(String value) Sets the default value for the excludeBranchesSpec property.withIncludeBranchesSpec
(String value) Sets the default value for the includeBranchesSpec property.Sets the default value for the labelsThatForcesBuildIfAdded property.Sets the default value for the mergeRequestLabelFilterConfig property.withNoteRegex
(String value) Sets the default value for the noteRegex property.withPendingBuildName
(String value) Sets the default value for the pendingBuildName property.withSecretToken
(String value) Sets the default value for the secretToken property.withSetBuildDescription
(boolean value) Sets the default value for the setBuildDescription property.withSkipWorkInProgressMergeRequest
(boolean value) Sets the default value for the skipWorkInProgressMergeRequest property.withSourceBranchRegex
(String value) Sets the default value for the sourceBranchRegex property.withTargetBranchRegex
(String value) Sets the default value for the targetBranchRegex property.withTriggerOnAcceptedMergeRequest
(boolean value) Sets the default value for the triggerOnAcceptedMergeRequest property.withTriggerOnApprovedMergeRequest
(boolean value) Sets the default value for the triggerOnApprovedMergeRequest property.withTriggerOnClosedMergeRequest
(boolean value) Sets the default value for the triggerOnClosedMergeRequest property.withTriggerOnlyIfNewCommitsPushed
(boolean value) Sets the default value for the triggerOnlyIfNewCommitsPushed property.withTriggerOnMergeRequest
(boolean value) Sets the default value for the triggerOnMergeRequest property.withTriggerOnNoteRequest
(boolean value) Sets the default value for the triggerOnNoteRequest property.withTriggerOnPipelineEvent
(boolean value) Sets the default value for the triggerOnPipelineEvent property.withTriggerOnPush
(boolean value) Sets the default value for the triggerOnPush property.Sets the default value for the triggerOpenMergeRequestOnPush property.withTriggerToBranchDeleteRequest
(boolean value) Sets the default value for the triggerToBranchDeleteRequest property.
-
Field Details
-
self
-
value$triggerOnPush$boolean
protected boolean value$triggerOnPush$boolean -
isSet$triggerOnPush$boolean
protected boolean isSet$triggerOnPush$boolean -
value$triggerToBranchDeleteRequest$boolean
protected boolean value$triggerToBranchDeleteRequest$boolean -
isSet$triggerToBranchDeleteRequest$boolean
protected boolean isSet$triggerToBranchDeleteRequest$boolean -
value$triggerOnMergeRequest$boolean
protected boolean value$triggerOnMergeRequest$boolean -
isSet$triggerOnMergeRequest$boolean
protected boolean isSet$triggerOnMergeRequest$boolean -
value$triggerOnlyIfNewCommitsPushed$boolean
protected boolean value$triggerOnlyIfNewCommitsPushed$boolean -
isSet$triggerOnlyIfNewCommitsPushed$boolean
protected boolean isSet$triggerOnlyIfNewCommitsPushed$boolean -
value$triggerOnAcceptedMergeRequest$boolean
protected boolean value$triggerOnAcceptedMergeRequest$boolean -
isSet$triggerOnAcceptedMergeRequest$boolean
protected boolean isSet$triggerOnAcceptedMergeRequest$boolean -
value$triggerOnClosedMergeRequest$boolean
protected boolean value$triggerOnClosedMergeRequest$boolean -
isSet$triggerOnClosedMergeRequest$boolean
protected boolean isSet$triggerOnClosedMergeRequest$boolean -
value$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequest
protected TriggerOpenMergeRequest value$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequest -
isSet$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequest
protected boolean isSet$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequest -
value$triggerOnNoteRequest$boolean
protected boolean value$triggerOnNoteRequest$boolean -
isSet$triggerOnNoteRequest$boolean
protected boolean isSet$triggerOnNoteRequest$boolean -
value$noteRegex$java$lang$String
-
isSet$noteRegex$java$lang$String
protected boolean isSet$noteRegex$java$lang$String -
value$skipWorkInProgressMergeRequest$boolean
protected boolean value$skipWorkInProgressMergeRequest$boolean -
isSet$skipWorkInProgressMergeRequest$boolean
protected boolean isSet$skipWorkInProgressMergeRequest$boolean -
value$ciSkip$boolean
protected boolean value$ciSkip$boolean -
isSet$ciSkip$boolean
protected boolean isSet$ciSkip$boolean -
value$labelsThatForcesBuildIfAdded$java$lang$String
-
isSet$labelsThatForcesBuildIfAdded$java$lang$String
protected boolean isSet$labelsThatForcesBuildIfAdded$java$lang$String -
value$setBuildDescription$boolean
protected boolean value$setBuildDescription$boolean -
isSet$setBuildDescription$boolean
protected boolean isSet$setBuildDescription$boolean -
value$addNoteOnMergeRequest$boolean
protected boolean value$addNoteOnMergeRequest$boolean -
isSet$addNoteOnMergeRequest$boolean
protected boolean isSet$addNoteOnMergeRequest$boolean -
value$addCiMessage$boolean
protected boolean value$addCiMessage$boolean -
isSet$addCiMessage$boolean
protected boolean isSet$addCiMessage$boolean -
value$addVoteOnMergeRequest$boolean
protected boolean value$addVoteOnMergeRequest$boolean -
isSet$addVoteOnMergeRequest$boolean
protected boolean isSet$addVoteOnMergeRequest$boolean -
value$acceptMergeRequestOnSuccess$boolean
protected boolean value$acceptMergeRequestOnSuccess$boolean -
isSet$acceptMergeRequestOnSuccess$boolean
protected boolean isSet$acceptMergeRequestOnSuccess$boolean -
value$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterType
protected BranchFilterType value$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterType -
isSet$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterType
protected boolean isSet$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterType -
value$includeBranchesSpec$java$lang$String
-
isSet$includeBranchesSpec$java$lang$String
protected boolean isSet$includeBranchesSpec$java$lang$String -
value$excludeBranchesSpec$java$lang$String
-
isSet$excludeBranchesSpec$java$lang$String
protected boolean isSet$excludeBranchesSpec$java$lang$String -
value$sourceBranchRegex$java$lang$String
-
isSet$sourceBranchRegex$java$lang$String
protected boolean isSet$sourceBranchRegex$java$lang$String -
value$targetBranchRegex$java$lang$String
-
isSet$targetBranchRegex$java$lang$String
protected boolean isSet$targetBranchRegex$java$lang$String -
value$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfig
protected MergeRequestLabelFilterConfig value$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfig -
isSet$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfig
protected boolean isSet$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfig -
value$secretToken$java$lang$String
-
isSet$secretToken$java$lang$String
protected boolean isSet$secretToken$java$lang$String -
value$triggerOnPipelineEvent$boolean
protected boolean value$triggerOnPipelineEvent$boolean -
isSet$triggerOnPipelineEvent$boolean
protected boolean isSet$triggerOnPipelineEvent$boolean -
value$triggerOnApprovedMergeRequest$boolean
protected boolean value$triggerOnApprovedMergeRequest$boolean -
isSet$triggerOnApprovedMergeRequest$boolean
protected boolean isSet$triggerOnApprovedMergeRequest$boolean -
value$pendingBuildName$java$lang$String
-
isSet$pendingBuildName$java$lang$String
protected boolean isSet$pendingBuildName$java$lang$String -
value$cancelPendingBuildsOnUpdate$boolean
protected boolean value$cancelPendingBuildsOnUpdate$boolean -
isSet$cancelPendingBuildsOnUpdate$boolean
protected boolean isSet$cancelPendingBuildsOnUpdate$boolean -
value$branchFilterName$java$lang$String
-
isSet$branchFilterName$java$lang$String
protected boolean isSet$branchFilterName$java$lang$String
-
-
Constructor Details
-
GitLabPushTriggerBuilder
public GitLabPushTriggerBuilder()Creates a newGitLabPushTriggerBuilder
.
-
-
Method Details
-
gitLabPushTrigger
Factory Method to construct a GitLabPushTriggerBuilder- Returns:
- a new GitLabPushTriggerBuilder
-
withTriggerOnPush
Sets the default value for the triggerOnPush property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerToBranchDeleteRequest
Sets the default value for the triggerToBranchDeleteRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnMergeRequest
Sets the default value for the triggerOnMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnlyIfNewCommitsPushed
Sets the default value for the triggerOnlyIfNewCommitsPushed property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnAcceptedMergeRequest
Sets the default value for the triggerOnAcceptedMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnClosedMergeRequest
Sets the default value for the triggerOnClosedMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOpenMergeRequestOnPush
Sets the default value for the triggerOpenMergeRequestOnPush property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnNoteRequest
Sets the default value for the triggerOnNoteRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNoteRegex
Sets the default value for the noteRegex property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSkipWorkInProgressMergeRequest
Sets the default value for the skipWorkInProgressMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCiSkip
Sets the default value for the ciSkip property.- Parameters:
value
- the default value- Returns:
- this builder
-
withLabelsThatForcesBuildIfAdded
Sets the default value for the labelsThatForcesBuildIfAdded property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSetBuildDescription
Sets the default value for the setBuildDescription property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAddNoteOnMergeRequest
Sets the default value for the addNoteOnMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAddCiMessage
Sets the default value for the addCiMessage property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAddVoteOnMergeRequest
Sets the default value for the addVoteOnMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAcceptMergeRequestOnSuccess
Sets the default value for the acceptMergeRequestOnSuccess property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBranchFilterType
Sets the default value for the branchFilterType property.- Parameters:
value
- the default value- Returns:
- this builder
-
withIncludeBranchesSpec
Sets the default value for the includeBranchesSpec property.- Parameters:
value
- the default value- Returns:
- this builder
-
withExcludeBranchesSpec
Sets the default value for the excludeBranchesSpec property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSourceBranchRegex
Sets the default value for the sourceBranchRegex property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTargetBranchRegex
Sets the default value for the targetBranchRegex property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeRequestLabelFilterConfig
public GitLabPushTriggerBuilder withMergeRequestLabelFilterConfig(MergeRequestLabelFilterConfig value) Sets the default value for the mergeRequestLabelFilterConfig property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSecretToken
Sets the default value for the secretToken property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnPipelineEvent
Sets the default value for the triggerOnPipelineEvent property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnApprovedMergeRequest
Sets the default value for the triggerOnApprovedMergeRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPendingBuildName
Sets the default value for the pendingBuildName property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCancelPendingBuildsOnUpdate
Sets the default value for the cancelPendingBuildsOnUpdate property.- Parameters:
value
- the default value- Returns:
- this builder
-
withBranchFilterName
Sets the default value for the branchFilterName property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newGitLabPushTrigger
based on this builder's settings.- Returns:
- the created GitLabPushTrigger
-