Class GitLabPushTriggerBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.builder.generated.GitLabPushTriggerBuilder
- All Implemented Interfaces:
- Cloneable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected GitLabPushTriggerBuilderprotected booleanprotected booleanprotected booleanprotected booleanprotected Stringprotected BranchFilterTypeprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected MergeRequestLabelFilterConfigprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected TriggerOpenMergeRequestprotected boolean
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates a newGitLabPushTriggerbased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.static GitLabPushTriggerBuilderFactory 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$booleanprotected boolean value$triggerOnPush$boolean
- 
isSet$triggerOnPush$booleanprotected boolean isSet$triggerOnPush$boolean
- 
value$triggerToBranchDeleteRequest$booleanprotected boolean value$triggerToBranchDeleteRequest$boolean
- 
isSet$triggerToBranchDeleteRequest$booleanprotected boolean isSet$triggerToBranchDeleteRequest$boolean
- 
value$triggerOnMergeRequest$booleanprotected boolean value$triggerOnMergeRequest$boolean
- 
isSet$triggerOnMergeRequest$booleanprotected boolean isSet$triggerOnMergeRequest$boolean
- 
value$triggerOnlyIfNewCommitsPushed$booleanprotected boolean value$triggerOnlyIfNewCommitsPushed$boolean
- 
isSet$triggerOnlyIfNewCommitsPushed$booleanprotected boolean isSet$triggerOnlyIfNewCommitsPushed$boolean
- 
value$triggerOnAcceptedMergeRequest$booleanprotected boolean value$triggerOnAcceptedMergeRequest$boolean
- 
isSet$triggerOnAcceptedMergeRequest$booleanprotected boolean isSet$triggerOnAcceptedMergeRequest$boolean
- 
value$triggerOnClosedMergeRequest$booleanprotected boolean value$triggerOnClosedMergeRequest$boolean
- 
isSet$triggerOnClosedMergeRequest$booleanprotected boolean isSet$triggerOnClosedMergeRequest$boolean
- 
value$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequestprotected TriggerOpenMergeRequest value$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequest
- 
isSet$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequestprotected boolean isSet$triggerOpenMergeRequestOnPush$com$dabsquared$gitlabjenkins$trigger$TriggerOpenMergeRequest
- 
value$triggerOnNoteRequest$booleanprotected boolean value$triggerOnNoteRequest$boolean
- 
isSet$triggerOnNoteRequest$booleanprotected boolean isSet$triggerOnNoteRequest$boolean
- 
value$noteRegex$java$lang$String
- 
isSet$noteRegex$java$lang$Stringprotected boolean isSet$noteRegex$java$lang$String
- 
value$skipWorkInProgressMergeRequest$booleanprotected boolean value$skipWorkInProgressMergeRequest$boolean
- 
isSet$skipWorkInProgressMergeRequest$booleanprotected boolean isSet$skipWorkInProgressMergeRequest$boolean
- 
value$ciSkip$booleanprotected boolean value$ciSkip$boolean
- 
isSet$ciSkip$booleanprotected boolean isSet$ciSkip$boolean
- 
value$labelsThatForcesBuildIfAdded$java$lang$String
- 
isSet$labelsThatForcesBuildIfAdded$java$lang$Stringprotected boolean isSet$labelsThatForcesBuildIfAdded$java$lang$String
- 
value$setBuildDescription$booleanprotected boolean value$setBuildDescription$boolean
- 
isSet$setBuildDescription$booleanprotected boolean isSet$setBuildDescription$boolean
- 
value$addNoteOnMergeRequest$booleanprotected boolean value$addNoteOnMergeRequest$boolean
- 
isSet$addNoteOnMergeRequest$booleanprotected boolean isSet$addNoteOnMergeRequest$boolean
- 
value$addCiMessage$booleanprotected boolean value$addCiMessage$boolean
- 
isSet$addCiMessage$booleanprotected boolean isSet$addCiMessage$boolean
- 
value$addVoteOnMergeRequest$booleanprotected boolean value$addVoteOnMergeRequest$boolean
- 
isSet$addVoteOnMergeRequest$booleanprotected boolean isSet$addVoteOnMergeRequest$boolean
- 
value$acceptMergeRequestOnSuccess$booleanprotected boolean value$acceptMergeRequestOnSuccess$boolean
- 
isSet$acceptMergeRequestOnSuccess$booleanprotected boolean isSet$acceptMergeRequestOnSuccess$boolean
- 
value$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterTypeprotected BranchFilterType value$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterType
- 
isSet$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterTypeprotected boolean isSet$branchFilterType$com$dabsquared$gitlabjenkins$trigger$filter$BranchFilterType
- 
value$includeBranchesSpec$java$lang$String
- 
isSet$includeBranchesSpec$java$lang$Stringprotected boolean isSet$includeBranchesSpec$java$lang$String
- 
value$excludeBranchesSpec$java$lang$String
- 
isSet$excludeBranchesSpec$java$lang$Stringprotected boolean isSet$excludeBranchesSpec$java$lang$String
- 
value$sourceBranchRegex$java$lang$String
- 
isSet$sourceBranchRegex$java$lang$Stringprotected boolean isSet$sourceBranchRegex$java$lang$String
- 
value$targetBranchRegex$java$lang$String
- 
isSet$targetBranchRegex$java$lang$Stringprotected boolean isSet$targetBranchRegex$java$lang$String
- 
value$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfigprotected MergeRequestLabelFilterConfig value$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfig
- 
isSet$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfigprotected boolean isSet$mergeRequestLabelFilterConfig$com$dabsquared$gitlabjenkins$trigger$filter$MergeRequestLabelFilterConfig
- 
value$secretToken$java$lang$String
- 
isSet$secretToken$java$lang$Stringprotected boolean isSet$secretToken$java$lang$String
- 
value$triggerOnPipelineEvent$booleanprotected boolean value$triggerOnPipelineEvent$boolean
- 
isSet$triggerOnPipelineEvent$booleanprotected boolean isSet$triggerOnPipelineEvent$boolean
- 
value$triggerOnApprovedMergeRequest$booleanprotected boolean value$triggerOnApprovedMergeRequest$boolean
- 
isSet$triggerOnApprovedMergeRequest$booleanprotected boolean isSet$triggerOnApprovedMergeRequest$boolean
- 
value$pendingBuildName$java$lang$String
- 
isSet$pendingBuildName$java$lang$Stringprotected boolean isSet$pendingBuildName$java$lang$String
- 
value$cancelPendingBuildsOnUpdate$booleanprotected boolean value$cancelPendingBuildsOnUpdate$boolean
- 
isSet$cancelPendingBuildsOnUpdate$booleanprotected boolean isSet$cancelPendingBuildsOnUpdate$boolean
- 
value$branchFilterName$java$lang$String
- 
isSet$branchFilterName$java$lang$Stringprotected boolean isSet$branchFilterName$java$lang$String
 
- 
- 
Constructor Details- 
GitLabPushTriggerBuilderpublic GitLabPushTriggerBuilder()Creates a newGitLabPushTriggerBuilder.
 
- 
- 
Method Details- 
gitLabPushTriggerFactory Method to construct a GitLabPushTriggerBuilder- Returns:
- a new GitLabPushTriggerBuilder
 
- 
withTriggerOnPushSets the default value for the triggerOnPush property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerToBranchDeleteRequestSets the default value for the triggerToBranchDeleteRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnMergeRequestSets the default value for the triggerOnMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnlyIfNewCommitsPushedSets the default value for the triggerOnlyIfNewCommitsPushed property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnAcceptedMergeRequestSets the default value for the triggerOnAcceptedMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnClosedMergeRequestSets the default value for the triggerOnClosedMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOpenMergeRequestOnPushSets the default value for the triggerOpenMergeRequestOnPush property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnNoteRequestSets the default value for the triggerOnNoteRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withNoteRegexSets the default value for the noteRegex property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSkipWorkInProgressMergeRequestSets the default value for the skipWorkInProgressMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withCiSkipSets the default value for the ciSkip property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withLabelsThatForcesBuildIfAddedSets the default value for the labelsThatForcesBuildIfAdded property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSetBuildDescriptionSets the default value for the setBuildDescription property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withAddNoteOnMergeRequestSets the default value for the addNoteOnMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withAddCiMessageSets the default value for the addCiMessage property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withAddVoteOnMergeRequestSets the default value for the addVoteOnMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withAcceptMergeRequestOnSuccessSets the default value for the acceptMergeRequestOnSuccess property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withBranchFilterTypeSets the default value for the branchFilterType property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withIncludeBranchesSpecSets the default value for the includeBranchesSpec property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withExcludeBranchesSpecSets the default value for the excludeBranchesSpec property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceBranchRegexSets the default value for the sourceBranchRegex property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetBranchRegexSets the default value for the targetBranchRegex property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestLabelFilterConfigpublic GitLabPushTriggerBuilder withMergeRequestLabelFilterConfig(MergeRequestLabelFilterConfig value) Sets the default value for the mergeRequestLabelFilterConfig property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSecretTokenSets the default value for the secretToken property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnPipelineEventSets the default value for the triggerOnPipelineEvent property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerOnApprovedMergeRequestSets the default value for the triggerOnApprovedMergeRequest property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withPendingBuildNameSets the default value for the pendingBuildName property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withCancelPendingBuildsOnUpdateSets the default value for the cancelPendingBuildsOnUpdate property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withBranchFilterNameSets the default value for the branchFilterName property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
cloneReturns a clone of this builder.
- 
butReturns a clone of this builder.- Returns:
- the clone
 
- 
buildCreates a newGitLabPushTriggerbased on this builder's settings.- Returns:
- the created GitLabPushTrigger
 
 
-