Class CauseDataBuilder

java.lang.Object
com.dabsquared.gitlabjenkins.cause.CauseDataBuilder
All Implemented Interfaces:
Cloneable

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

    • self

      protected CauseDataBuilder self
    • value$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionType

      protected CauseData.ActionType value$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionType
    • isSet$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionType

      protected boolean isSet$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionType
    • value$sourceProjectId$java$lang$Integer

      protected Integer value$sourceProjectId$java$lang$Integer
    • isSet$sourceProjectId$java$lang$Integer

      protected boolean isSet$sourceProjectId$java$lang$Integer
    • value$targetProjectId$java$lang$Integer

      protected Integer value$targetProjectId$java$lang$Integer
    • isSet$targetProjectId$java$lang$Integer

      protected boolean isSet$targetProjectId$java$lang$Integer
    • value$branch$java$lang$String

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

      protected boolean isSet$branch$java$lang$String
    • value$sourceBranch$java$lang$String

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

      protected boolean isSet$sourceBranch$java$lang$String
    • value$userName$java$lang$String

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

      protected boolean isSet$userName$java$lang$String
    • value$userUsername$java$lang$String

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

      protected boolean isSet$userUsername$java$lang$String
    • value$userEmail$java$lang$String

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

      protected boolean isSet$userEmail$java$lang$String
    • value$sourceRepoHomepage$java$lang$String

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

      protected boolean isSet$sourceRepoHomepage$java$lang$String
    • value$sourceRepoName$java$lang$String

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

      protected boolean isSet$sourceRepoName$java$lang$String
    • value$sourceNamespace$java$lang$String

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

      protected boolean isSet$sourceNamespace$java$lang$String
    • value$sourceRepoUrl$java$lang$String

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

      protected boolean isSet$sourceRepoUrl$java$lang$String
    • value$sourceRepoSshUrl$java$lang$String

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

      protected boolean isSet$sourceRepoSshUrl$java$lang$String
    • value$sourceRepoHttpUrl$java$lang$String

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

      protected boolean isSet$sourceRepoHttpUrl$java$lang$String
    • value$mergeCommitSha$java$lang$String

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

      protected boolean isSet$mergeCommitSha$java$lang$String
    • value$mergeRequestTitle$java$lang$String

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

      protected boolean isSet$mergeRequestTitle$java$lang$String
    • value$mergeRequestDescription$java$lang$String

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

      protected boolean isSet$mergeRequestDescription$java$lang$String
    • value$mergeRequestId$java$lang$Integer

      protected Integer value$mergeRequestId$java$lang$Integer
    • isSet$mergeRequestId$java$lang$Integer

      protected boolean isSet$mergeRequestId$java$lang$Integer
    • value$mergeRequestIid$java$lang$Integer

      protected Integer value$mergeRequestIid$java$lang$Integer
    • isSet$mergeRequestIid$java$lang$Integer

      protected boolean isSet$mergeRequestIid$java$lang$Integer
    • value$mergeRequestTargetProjectId$java$lang$Integer

      protected Integer value$mergeRequestTargetProjectId$java$lang$Integer
    • isSet$mergeRequestTargetProjectId$java$lang$Integer

      protected boolean isSet$mergeRequestTargetProjectId$java$lang$Integer
    • value$mergeRequestLabels$java$util$List

      protected List<String> value$mergeRequestLabels$java$util$List
    • isSet$mergeRequestLabels$java$util$List

      protected boolean isSet$mergeRequestLabels$java$util$List
    • value$targetBranch$java$lang$String

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

      protected boolean isSet$targetBranch$java$lang$String
    • value$targetRepoName$java$lang$String

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

      protected boolean isSet$targetRepoName$java$lang$String
    • value$targetNamespace$java$lang$String

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

      protected boolean isSet$targetNamespace$java$lang$String
    • value$targetRepoSshUrl$java$lang$String

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

      protected boolean isSet$targetRepoSshUrl$java$lang$String
    • value$targetRepoHttpUrl$java$lang$String

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

      protected boolean isSet$targetRepoHttpUrl$java$lang$String
    • value$triggeredByUser$java$lang$String

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

      protected boolean isSet$triggeredByUser$java$lang$String
    • value$before$java$lang$String

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

      protected boolean isSet$before$java$lang$String
    • value$after$java$lang$String

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

      protected boolean isSet$after$java$lang$String
    • value$lastCommit$java$lang$String

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

      protected boolean isSet$lastCommit$java$lang$String
    • value$targetProjectUrl$java$lang$String

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

      protected boolean isSet$targetProjectUrl$java$lang$String
    • value$triggerPhrase$java$lang$String

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

      protected boolean isSet$triggerPhrase$java$lang$String
    • value$mergeRequestState$java$lang$String

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

      protected boolean isSet$mergeRequestState$java$lang$String
    • value$mergedByUser$java$lang$String

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

      protected boolean isSet$mergedByUser$java$lang$String
    • value$mergeRequestAssignee$java$lang$String

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

      protected boolean isSet$mergeRequestAssignee$java$lang$String
    • value$ref$java$lang$String

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

      protected boolean isSet$ref$java$lang$String
    • value$isTag$java$lang$String

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

      protected boolean isSet$isTag$java$lang$String
    • value$sha$java$lang$String

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

      protected boolean isSet$sha$java$lang$String
    • value$beforeSha$java$lang$String

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

      protected boolean isSet$beforeSha$java$lang$String
    • value$status$java$lang$String

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

      protected boolean isSet$status$java$lang$String
    • value$stages$java$lang$String

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

      protected boolean isSet$stages$java$lang$String
    • value$createdAt$java$lang$String

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

      protected boolean isSet$createdAt$java$lang$String
    • value$finishedAt$java$lang$String

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

      protected boolean isSet$finishedAt$java$lang$String
    • value$buildDuration$java$lang$String

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

      protected boolean isSet$buildDuration$java$lang$String
    • value$commentAuthor$java$lang$String

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

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

  • Method Details

    • causeData

      public static CauseDataBuilder causeData()
      Factory Method to construct a CauseDataBuilder
      Returns:
      a new CauseDataBuilder
    • withActionType

      public CauseDataBuilder withActionType(CauseData.ActionType value)
      Sets the default value for the actionType property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceProjectId

      public CauseDataBuilder withSourceProjectId(Integer value)
      Sets the default value for the sourceProjectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetProjectId

      public CauseDataBuilder withTargetProjectId(Integer value)
      Sets the default value for the targetProjectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBranch

      public CauseDataBuilder withBranch(String value)
      Sets the default value for the branch property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceBranch

      public CauseDataBuilder withSourceBranch(String value)
      Sets the default value for the sourceBranch property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserName

      public CauseDataBuilder withUserName(String value)
      Sets the default value for the userName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserUsername

      public CauseDataBuilder withUserUsername(String value)
      Sets the default value for the userUsername property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withUserEmail

      public CauseDataBuilder withUserEmail(String value)
      Sets the default value for the userEmail property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceRepoHomepage

      public CauseDataBuilder withSourceRepoHomepage(String value)
      Sets the default value for the sourceRepoHomepage property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceRepoName

      public CauseDataBuilder withSourceRepoName(String value)
      Sets the default value for the sourceRepoName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceNamespace

      public CauseDataBuilder withSourceNamespace(String value)
      Sets the default value for the sourceNamespace property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceRepoUrl

      public CauseDataBuilder withSourceRepoUrl(String value)
      Sets the default value for the sourceRepoUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceRepoSshUrl

      public CauseDataBuilder withSourceRepoSshUrl(String value)
      Sets the default value for the sourceRepoSshUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSourceRepoHttpUrl

      public CauseDataBuilder withSourceRepoHttpUrl(String value)
      Sets the default value for the sourceRepoHttpUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeCommitSha

      public CauseDataBuilder withMergeCommitSha(String value)
      Sets the default value for the mergeCommitSha property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestTitle

      public CauseDataBuilder withMergeRequestTitle(String value)
      Sets the default value for the mergeRequestTitle property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestDescription

      public CauseDataBuilder withMergeRequestDescription(String value)
      Sets the default value for the mergeRequestDescription property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestId

      public CauseDataBuilder withMergeRequestId(Integer value)
      Sets the default value for the mergeRequestId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestIid

      public CauseDataBuilder withMergeRequestIid(Integer value)
      Sets the default value for the mergeRequestIid property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestTargetProjectId

      public CauseDataBuilder withMergeRequestTargetProjectId(Integer value)
      Sets the default value for the mergeRequestTargetProjectId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestLabels

      public CauseDataBuilder withMergeRequestLabels(List<String> value)
      Sets the default value for the mergeRequestLabels property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetBranch

      public CauseDataBuilder withTargetBranch(String value)
      Sets the default value for the targetBranch property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetRepoName

      public CauseDataBuilder withTargetRepoName(String value)
      Sets the default value for the targetRepoName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetNamespace

      public CauseDataBuilder withTargetNamespace(String value)
      Sets the default value for the targetNamespace property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetRepoSshUrl

      public CauseDataBuilder withTargetRepoSshUrl(String value)
      Sets the default value for the targetRepoSshUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetRepoHttpUrl

      public CauseDataBuilder withTargetRepoHttpUrl(String value)
      Sets the default value for the targetRepoHttpUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggeredByUser

      public CauseDataBuilder withTriggeredByUser(String value)
      Sets the default value for the triggeredByUser property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBefore

      public CauseDataBuilder withBefore(String value)
      Sets the default value for the before property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withAfter

      public CauseDataBuilder withAfter(String value)
      Sets the default value for the after property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withLastCommit

      public CauseDataBuilder withLastCommit(String value)
      Sets the default value for the lastCommit property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTargetProjectUrl

      public CauseDataBuilder withTargetProjectUrl(String value)
      Sets the default value for the targetProjectUrl property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withTriggerPhrase

      public CauseDataBuilder withTriggerPhrase(String value)
      Sets the default value for the triggerPhrase property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestState

      public CauseDataBuilder withMergeRequestState(String value)
      Sets the default value for the mergeRequestState property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergedByUser

      public CauseDataBuilder withMergedByUser(String value)
      Sets the default value for the mergedByUser property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withMergeRequestAssignee

      public CauseDataBuilder withMergeRequestAssignee(String value)
      Sets the default value for the mergeRequestAssignee property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withRef

      public CauseDataBuilder withRef(String value)
      Sets the default value for the ref property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withIsTag

      public CauseDataBuilder withIsTag(String value)
      Sets the default value for the isTag property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withSha

      public CauseDataBuilder withSha(String value)
      Sets the default value for the sha property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBeforeSha

      public CauseDataBuilder withBeforeSha(String value)
      Sets the default value for the beforeSha property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withStatus

      public CauseDataBuilder withStatus(String value)
      Sets the default value for the status property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withStages

      public CauseDataBuilder withStages(String value)
      Sets the default value for the stages property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCreatedAt

      public CauseDataBuilder withCreatedAt(String value)
      Sets the default value for the createdAt property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withFinishedAt

      public CauseDataBuilder withFinishedAt(String value)
      Sets the default value for the finishedAt property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withBuildDuration

      public CauseDataBuilder withBuildDuration(String value)
      Sets the default value for the buildDuration property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • withCommentAuthor

      public CauseDataBuilder withCommentAuthor(String value)
      Sets the default value for the commentAuthor 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 CauseDataBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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