Class GitLabPushTriggerBuilder

java.lang.Object
com.dabsquared.gitlabjenkins.builder.generated.GitLabPushTriggerBuilder
All Implemented Interfaces:
Cloneable

@Generated("PojoBuilder") public class GitLabPushTriggerBuilder extends Object implements Cloneable
  • Field Details

    • self

      protected GitLabPushTriggerBuilder 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

      protected String 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

      protected String 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

      protected String value$includeBranchesSpec$java$lang$String
    • isSet$includeBranchesSpec$java$lang$String

      protected boolean isSet$includeBranchesSpec$java$lang$String
    • value$excludeBranchesSpec$java$lang$String

      protected String value$excludeBranchesSpec$java$lang$String
    • isSet$excludeBranchesSpec$java$lang$String

      protected boolean isSet$excludeBranchesSpec$java$lang$String
    • value$sourceBranchRegex$java$lang$String

      protected String value$sourceBranchRegex$java$lang$String
    • isSet$sourceBranchRegex$java$lang$String

      protected boolean isSet$sourceBranchRegex$java$lang$String
    • value$targetBranchRegex$java$lang$String

      protected 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

      protected String 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

      protected String 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

      protected String value$branchFilterName$java$lang$String
    • isSet$branchFilterName$java$lang$String

      protected boolean isSet$branchFilterName$java$lang$String
  • Constructor Details

  • Method Details

    • gitLabPushTrigger

      public static GitLabPushTriggerBuilder gitLabPushTrigger()
      Factory Method to construct a GitLabPushTriggerBuilder
      Returns:
      a new GitLabPushTriggerBuilder
    • withTriggerOnPush

      public GitLabPushTriggerBuilder withTriggerOnPush(boolean value)
      Sets the default value for the triggerOnPush property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerToBranchDeleteRequest

      public GitLabPushTriggerBuilder withTriggerToBranchDeleteRequest(boolean value)
      Sets the default value for the triggerToBranchDeleteRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnMergeRequest

      public GitLabPushTriggerBuilder withTriggerOnMergeRequest(boolean value)
      Sets the default value for the triggerOnMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnlyIfNewCommitsPushed

      public GitLabPushTriggerBuilder withTriggerOnlyIfNewCommitsPushed(boolean value)
      Sets the default value for the triggerOnlyIfNewCommitsPushed property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnAcceptedMergeRequest

      public GitLabPushTriggerBuilder withTriggerOnAcceptedMergeRequest(boolean value)
      Sets the default value for the triggerOnAcceptedMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnClosedMergeRequest

      public GitLabPushTriggerBuilder withTriggerOnClosedMergeRequest(boolean value)
      Sets the default value for the triggerOnClosedMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOpenMergeRequestOnPush

      public GitLabPushTriggerBuilder withTriggerOpenMergeRequestOnPush(TriggerOpenMergeRequest value)
      Sets the default value for the triggerOpenMergeRequestOnPush property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnNoteRequest

      public GitLabPushTriggerBuilder withTriggerOnNoteRequest(boolean value)
      Sets the default value for the triggerOnNoteRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withNoteRegex

      public GitLabPushTriggerBuilder withNoteRegex(String value)
      Sets the default value for the noteRegex property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSkipWorkInProgressMergeRequest

      public GitLabPushTriggerBuilder withSkipWorkInProgressMergeRequest(boolean value)
      Sets the default value for the skipWorkInProgressMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCiSkip

      public GitLabPushTriggerBuilder withCiSkip(boolean value)
      Sets the default value for the ciSkip property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withLabelsThatForcesBuildIfAdded

      public GitLabPushTriggerBuilder withLabelsThatForcesBuildIfAdded(String value)
      Sets the default value for the labelsThatForcesBuildIfAdded property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSetBuildDescription

      public GitLabPushTriggerBuilder withSetBuildDescription(boolean value)
      Sets the default value for the setBuildDescription property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAddNoteOnMergeRequest

      public GitLabPushTriggerBuilder withAddNoteOnMergeRequest(boolean value)
      Sets the default value for the addNoteOnMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAddCiMessage

      public GitLabPushTriggerBuilder withAddCiMessage(boolean value)
      Sets the default value for the addCiMessage property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAddVoteOnMergeRequest

      public GitLabPushTriggerBuilder withAddVoteOnMergeRequest(boolean value)
      Sets the default value for the addVoteOnMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAcceptMergeRequestOnSuccess

      public GitLabPushTriggerBuilder withAcceptMergeRequestOnSuccess(boolean value)
      Sets the default value for the acceptMergeRequestOnSuccess property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBranchFilterType

      public GitLabPushTriggerBuilder withBranchFilterType(BranchFilterType value)
      Sets the default value for the branchFilterType property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withIncludeBranchesSpec

      public GitLabPushTriggerBuilder withIncludeBranchesSpec(String value)
      Sets the default value for the includeBranchesSpec property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withExcludeBranchesSpec

      public GitLabPushTriggerBuilder withExcludeBranchesSpec(String value)
      Sets the default value for the excludeBranchesSpec property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceBranchRegex

      public GitLabPushTriggerBuilder withSourceBranchRegex(String value)
      Sets the default value for the sourceBranchRegex property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetBranchRegex

      public GitLabPushTriggerBuilder withTargetBranchRegex(String value)
      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

      public GitLabPushTriggerBuilder withSecretToken(String value)
      Sets the default value for the secretToken property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnPipelineEvent

      public GitLabPushTriggerBuilder withTriggerOnPipelineEvent(boolean value)
      Sets the default value for the triggerOnPipelineEvent property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerOnApprovedMergeRequest

      public GitLabPushTriggerBuilder withTriggerOnApprovedMergeRequest(boolean value)
      Sets the default value for the triggerOnApprovedMergeRequest property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withPendingBuildName

      public GitLabPushTriggerBuilder withPendingBuildName(String value)
      Sets the default value for the pendingBuildName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCancelPendingBuildsOnUpdate

      public GitLabPushTriggerBuilder withCancelPendingBuildsOnUpdate(boolean value)
      Sets the default value for the cancelPendingBuildsOnUpdate property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBranchFilterName

      public GitLabPushTriggerBuilder withBranchFilterName(String value)
      Sets the default value for the branchFilterName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clone

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but

      @GwtIncompatible public GitLabPushTriggerBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

      public GitLabPushTrigger build()
      Creates a new GitLabPushTrigger based on this builder's settings.
      Returns:
      the created GitLabPushTrigger