Class GiteePushTriggerBuilder
java.lang.Object
com.gitee.jenkins.trigger.builder.generated.GiteePushTriggerBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier 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 boolean
protected boolean
protected boolean
protected boolean
protected GiteePushTriggerBuilder
protected boolean
protected boolean
protected boolean
protected boolean
protected String
protected BranchFilterType
protected BuildInstructionFilterType
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected String
protected boolean
protected String
protected String
protected String
protected PullRequestLabelFilterConfig
protected String
protected boolean
protected boolean
protected boolean
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newGiteePushTrigger
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static GiteePushTriggerBuilder
Factory Method to construct a GiteePushTriggerBuilderwithAcceptPullRequestOnSuccess
(boolean value) Sets the default value for the acceptPullRequestOnSuccess property.withAddCiMessage
(boolean value) Sets the default value for the addCiMessage property.withAddNoteOnPullRequest
(boolean value) Sets the default value for the addNoteOnPullRequest property.withAddVoteOnPullRequest
(boolean value) Sets the default value for the addVoteOnPullRequest property.withBranchFilterName
(String value) Sets the default value for the branchFilterName property.Sets the default value for the branchFilterType property.Sets the default value for the buildInstructionFilterType property.withCancelIncompleteBuildOnSamePullRequest
(boolean value) Sets the default value for the cancelIncompleteBuildOnSamePullRequest property.withCancelPendingBuildsOnUpdate
(boolean value) Sets the default value for the cancelPendingBuildsOnUpdate property.withCiBuildForDeleteRef
(boolean value) Sets the default value for the ciBuildForDeleteRef property.withCiSkip
(boolean value) Sets the default value for the ciSkip property.withCiSkipFroTestNotRequired
(boolean value) Sets the default value for the ciSkipFroTestNotRequired property.withExcludeBranchesSpec
(String value) Sets the default value for the excludeBranchesSpec property.withIgnorePullRequestConflicts
(boolean value) Sets the default value for the ignorePullRequestConflicts property.withIncludeBranchesSpec
(String value) Sets the default value for the includeBranchesSpec property.withNoteRegex
(String value) Sets the default value for the noteRegex property.withPendingBuildName
(String value) Sets the default value for the pendingBuildName property.Sets the default value for the pullRequestLabelFilterConfig property.withSecretToken
(String value) Sets the default value for the secretToken property.withSetBuildDescription
(boolean value) Sets the default value for the setBuildDescription property.withSkipLastCommitHasBeenBuild
(boolean value) Sets the default value for the skipLastCommitHasBeenBuild property.withSkipWorkInProgressPullRequest
(boolean value) Sets the default value for the skipWorkInProgressPullRequest property.withTargetBranchRegex
(String value) Sets the default value for the targetBranchRegex property.withTriggerOnAcceptedPullRequest
(boolean value) Sets the default value for the triggerOnAcceptedPullRequest property.withTriggerOnApprovedPullRequest
(boolean value) Sets the default value for the triggerOnApprovedPullRequest property.withTriggerOnClosedPullRequest
(boolean value) Sets the default value for the triggerOnClosedPullRequest property.withTriggerOnCommitComment
(boolean value) Sets the default value for the triggerOnCommitComment property.withTriggerOnNoteRequest
(boolean value) Sets the default value for the triggerOnNoteRequest property.withTriggerOnOpenPullRequest
(boolean value) Sets the default value for the triggerOnOpenPullRequest property.withTriggerOnPipelineEvent
(boolean value) Sets the default value for the triggerOnPipelineEvent property.withTriggerOnPush
(boolean value) Sets the default value for the triggerOnPush property.withTriggerOnTestedPullRequest
(boolean value) Sets the default value for the triggerOnTestedPullRequest property.Sets the default value for the triggerOnUpdatePullRequest property.
-
Field Details
-
self
-
value$triggerOnPush$boolean
protected boolean value$triggerOnPush$boolean -
isSet$triggerOnPush$boolean
protected boolean isSet$triggerOnPush$boolean -
value$triggerOnCommitComment$boolean
protected boolean value$triggerOnCommitComment$boolean -
isSet$triggerOnCommitComment$boolean
protected boolean isSet$triggerOnCommitComment$boolean -
value$triggerOnOpenPullRequest$boolean
protected boolean value$triggerOnOpenPullRequest$boolean -
isSet$triggerOnOpenPullRequest$boolean
protected boolean isSet$triggerOnOpenPullRequest$boolean -
value$triggerOnUpdatePullRequest$java$lang$String
-
isSet$triggerOnUpdatePullRequest$java$lang$String
protected boolean isSet$triggerOnUpdatePullRequest$java$lang$String -
value$triggerOnAcceptedPullRequest$boolean
protected boolean value$triggerOnAcceptedPullRequest$boolean -
isSet$triggerOnAcceptedPullRequest$boolean
protected boolean isSet$triggerOnAcceptedPullRequest$boolean -
value$triggerOnClosedPullRequest$boolean
protected boolean value$triggerOnClosedPullRequest$boolean -
isSet$triggerOnClosedPullRequest$boolean
protected boolean isSet$triggerOnClosedPullRequest$boolean -
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$skipWorkInProgressPullRequest$boolean
protected boolean value$skipWorkInProgressPullRequest$boolean -
isSet$skipWorkInProgressPullRequest$boolean
protected boolean isSet$skipWorkInProgressPullRequest$boolean -
value$ciSkip$boolean
protected boolean value$ciSkip$boolean -
isSet$ciSkip$boolean
protected boolean isSet$ciSkip$boolean -
value$buildInstructionFilterType$com$gitee$jenkins$trigger$filter$BuildInstructionFilterType
protected BuildInstructionFilterType value$buildInstructionFilterType$com$gitee$jenkins$trigger$filter$BuildInstructionFilterType -
isSet$buildInstructionFilterType$com$gitee$jenkins$trigger$filter$BuildInstructionFilterType
protected boolean isSet$buildInstructionFilterType$com$gitee$jenkins$trigger$filter$BuildInstructionFilterType -
value$setBuildDescription$boolean
protected boolean value$setBuildDescription$boolean -
isSet$setBuildDescription$boolean
protected boolean isSet$setBuildDescription$boolean -
value$addNoteOnPullRequest$boolean
protected boolean value$addNoteOnPullRequest$boolean -
isSet$addNoteOnPullRequest$boolean
protected boolean isSet$addNoteOnPullRequest$boolean -
value$addCiMessage$boolean
protected boolean value$addCiMessage$boolean -
isSet$addCiMessage$boolean
protected boolean isSet$addCiMessage$boolean -
value$addVoteOnPullRequest$boolean
protected boolean value$addVoteOnPullRequest$boolean -
isSet$addVoteOnPullRequest$boolean
protected boolean isSet$addVoteOnPullRequest$boolean -
value$acceptPullRequestOnSuccess$boolean
protected boolean value$acceptPullRequestOnSuccess$boolean -
isSet$acceptPullRequestOnSuccess$boolean
protected boolean isSet$acceptPullRequestOnSuccess$boolean -
value$branchFilterType$com$gitee$jenkins$trigger$filter$BranchFilterType
-
isSet$branchFilterType$com$gitee$jenkins$trigger$filter$BranchFilterType
protected boolean isSet$branchFilterType$com$gitee$jenkins$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$targetBranchRegex$java$lang$String
-
isSet$targetBranchRegex$java$lang$String
protected boolean isSet$targetBranchRegex$java$lang$String -
value$pullRequestLabelFilterConfig$com$gitee$jenkins$trigger$filter$PullRequestLabelFilterConfig
protected PullRequestLabelFilterConfig value$pullRequestLabelFilterConfig$com$gitee$jenkins$trigger$filter$PullRequestLabelFilterConfig -
isSet$pullRequestLabelFilterConfig$com$gitee$jenkins$trigger$filter$PullRequestLabelFilterConfig
protected boolean isSet$pullRequestLabelFilterConfig$com$gitee$jenkins$trigger$filter$PullRequestLabelFilterConfig -
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$triggerOnApprovedPullRequest$boolean
protected boolean value$triggerOnApprovedPullRequest$boolean -
isSet$triggerOnApprovedPullRequest$boolean
protected boolean isSet$triggerOnApprovedPullRequest$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$cancelIncompleteBuildOnSamePullRequest$boolean
protected boolean value$cancelIncompleteBuildOnSamePullRequest$boolean -
isSet$cancelIncompleteBuildOnSamePullRequest$boolean
protected boolean isSet$cancelIncompleteBuildOnSamePullRequest$boolean -
value$ignorePullRequestConflicts$boolean
protected boolean value$ignorePullRequestConflicts$boolean -
isSet$ignorePullRequestConflicts$boolean
protected boolean isSet$ignorePullRequestConflicts$boolean -
value$triggerOnTestedPullRequest$boolean
protected boolean value$triggerOnTestedPullRequest$boolean -
isSet$triggerOnTestedPullRequest$boolean
protected boolean isSet$triggerOnTestedPullRequest$boolean -
value$ciSkipFroTestNotRequired$boolean
protected boolean value$ciSkipFroTestNotRequired$boolean -
isSet$ciSkipFroTestNotRequired$boolean
protected boolean isSet$ciSkipFroTestNotRequired$boolean -
value$ciBuildForDeleteRef$boolean
protected boolean value$ciBuildForDeleteRef$boolean -
isSet$ciBuildForDeleteRef$boolean
protected boolean isSet$ciBuildForDeleteRef$boolean -
value$skipLastCommitHasBeenBuild$boolean
protected boolean value$skipLastCommitHasBeenBuild$boolean -
isSet$skipLastCommitHasBeenBuild$boolean
protected boolean isSet$skipLastCommitHasBeenBuild$boolean -
value$branchFilterName$java$lang$String
-
isSet$branchFilterName$java$lang$String
protected boolean isSet$branchFilterName$java$lang$String
-
-
Constructor Details
-
GiteePushTriggerBuilder
public GiteePushTriggerBuilder()Creates a newGiteePushTriggerBuilder
.
-
-
Method Details
-
giteePushTrigger
Factory Method to construct a GiteePushTriggerBuilder- Returns:
- a new GiteePushTriggerBuilder
-
withTriggerOnPush
Sets the default value for the triggerOnPush property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnCommitComment
Sets the default value for the triggerOnCommitComment property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnOpenPullRequest
Sets the default value for the triggerOnOpenPullRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnUpdatePullRequest
Sets the default value for the triggerOnUpdatePullRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnAcceptedPullRequest
Sets the default value for the triggerOnAcceptedPullRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnClosedPullRequest
Sets the default value for the triggerOnClosedPullRequest 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
-
withSkipWorkInProgressPullRequest
Sets the default value for the skipWorkInProgressPullRequest 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
-
withBuildInstructionFilterType
Sets the default value for the buildInstructionFilterType 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
-
withAddNoteOnPullRequest
Sets the default value for the addNoteOnPullRequest 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
-
withAddVoteOnPullRequest
Sets the default value for the addVoteOnPullRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAcceptPullRequestOnSuccess
Sets the default value for the acceptPullRequestOnSuccess 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
-
withTargetBranchRegex
Sets the default value for the targetBranchRegex property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPullRequestLabelFilterConfig
Sets the default value for the pullRequestLabelFilterConfig 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
-
withTriggerOnApprovedPullRequest
Sets the default value for the triggerOnApprovedPullRequest 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
-
withCancelIncompleteBuildOnSamePullRequest
Sets the default value for the cancelIncompleteBuildOnSamePullRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withIgnorePullRequestConflicts
Sets the default value for the ignorePullRequestConflicts property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTriggerOnTestedPullRequest
Sets the default value for the triggerOnTestedPullRequest property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCiSkipFroTestNotRequired
Sets the default value for the ciSkipFroTestNotRequired property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCiBuildForDeleteRef
Sets the default value for the ciBuildForDeleteRef property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSkipLastCommitHasBeenBuild
Sets the default value for the skipLastCommitHasBeenBuild 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 newGiteePushTrigger
based on this builder's settings.- Returns:
- the created GiteePushTrigger
-