Class CauseDataBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.cause.CauseDataBuilder
- 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 booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected CauseDataBuilderprotected CauseData.ActionTypeprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected String
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates a newCauseDatabased on this builder's settings.but()Returns a clone of this builder.static CauseDataBuilderFactory Method to construct a CauseDataBuilderclone()Returns a clone of this builder.Sets the default value for the actionType property.Sets the default value for the after property.withBefore(String value) Sets the default value for the before property.withBeforeSha(String value) Sets the default value for the beforeSha property.withBranch(String value) Sets the default value for the branch property.withBuildDuration(String value) Sets the default value for the buildDuration property.withCommentAuthor(String value) Sets the default value for the commentAuthor property.withCreatedAt(String value) Sets the default value for the createdAt property.withFinishedAt(String value) Sets the default value for the finishedAt property.Sets the default value for the isTag property.withLastCommit(String value) Sets the default value for the lastCommit property.withMergeCommitSha(String value) Sets the default value for the mergeCommitSha property.withMergedByUser(String value) Sets the default value for the mergedByUser property.withMergeRequestAssignee(String value) Sets the default value for the mergeRequestAssignee property.Sets the default value for the mergeRequestDescription property.withMergeRequestId(Integer value) Sets the default value for the mergeRequestId property.withMergeRequestIid(Integer value) Sets the default value for the mergeRequestIid property.withMergeRequestLabels(List<String> value) Sets the default value for the mergeRequestLabels property.withMergeRequestState(String value) Sets the default value for the mergeRequestState property.Sets the default value for the mergeRequestTargetProjectId property.withMergeRequestTitle(String value) Sets the default value for the mergeRequestTitle property.Sets the default value for the ref property.Sets the default value for the sha property.withSourceBranch(String value) Sets the default value for the sourceBranch property.withSourceNamespace(String value) Sets the default value for the sourceNamespace property.withSourceProjectId(Integer value) Sets the default value for the sourceProjectId property.withSourceRepoHomepage(String value) Sets the default value for the sourceRepoHomepage property.withSourceRepoHttpUrl(String value) Sets the default value for the sourceRepoHttpUrl property.withSourceRepoName(String value) Sets the default value for the sourceRepoName property.withSourceRepoSshUrl(String value) Sets the default value for the sourceRepoSshUrl property.withSourceRepoUrl(String value) Sets the default value for the sourceRepoUrl property.withStages(String value) Sets the default value for the stages property.withStatus(String value) Sets the default value for the status property.withTargetBranch(String value) Sets the default value for the targetBranch property.withTargetNamespace(String value) Sets the default value for the targetNamespace property.withTargetProjectId(Integer value) Sets the default value for the targetProjectId property.withTargetProjectUrl(String value) Sets the default value for the targetProjectUrl property.withTargetRepoHttpUrl(String value) Sets the default value for the targetRepoHttpUrl property.withTargetRepoName(String value) Sets the default value for the targetRepoName property.withTargetRepoSshUrl(String value) Sets the default value for the targetRepoSshUrl property.withTriggeredByUser(String value) Sets the default value for the triggeredByUser property.withTriggerPhrase(String value) Sets the default value for the triggerPhrase property.withUserEmail(String value) Sets the default value for the userEmail property.withUserName(String value) Sets the default value for the userName property.withUserUsername(String value) Sets the default value for the userUsername property.
- 
Field Details- 
self
- 
value$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionTypeprotected CauseData.ActionType value$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionType
- 
isSet$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionTypeprotected boolean isSet$actionType$com$dabsquared$gitlabjenkins$cause$CauseData$ActionType
- 
value$sourceProjectId$java$lang$Integer
- 
isSet$sourceProjectId$java$lang$Integerprotected boolean isSet$sourceProjectId$java$lang$Integer
- 
value$targetProjectId$java$lang$Integer
- 
isSet$targetProjectId$java$lang$Integerprotected boolean isSet$targetProjectId$java$lang$Integer
- 
value$branch$java$lang$String
- 
isSet$branch$java$lang$Stringprotected boolean isSet$branch$java$lang$String
- 
value$sourceBranch$java$lang$String
- 
isSet$sourceBranch$java$lang$Stringprotected boolean isSet$sourceBranch$java$lang$String
- 
value$userName$java$lang$String
- 
isSet$userName$java$lang$Stringprotected boolean isSet$userName$java$lang$String
- 
value$userUsername$java$lang$String
- 
isSet$userUsername$java$lang$Stringprotected boolean isSet$userUsername$java$lang$String
- 
value$userEmail$java$lang$String
- 
isSet$userEmail$java$lang$Stringprotected boolean isSet$userEmail$java$lang$String
- 
value$sourceRepoHomepage$java$lang$String
- 
isSet$sourceRepoHomepage$java$lang$Stringprotected boolean isSet$sourceRepoHomepage$java$lang$String
- 
value$sourceRepoName$java$lang$String
- 
isSet$sourceRepoName$java$lang$Stringprotected boolean isSet$sourceRepoName$java$lang$String
- 
value$sourceNamespace$java$lang$String
- 
isSet$sourceNamespace$java$lang$Stringprotected boolean isSet$sourceNamespace$java$lang$String
- 
value$sourceRepoUrl$java$lang$String
- 
isSet$sourceRepoUrl$java$lang$Stringprotected boolean isSet$sourceRepoUrl$java$lang$String
- 
value$sourceRepoSshUrl$java$lang$String
- 
isSet$sourceRepoSshUrl$java$lang$Stringprotected boolean isSet$sourceRepoSshUrl$java$lang$String
- 
value$sourceRepoHttpUrl$java$lang$String
- 
isSet$sourceRepoHttpUrl$java$lang$Stringprotected boolean isSet$sourceRepoHttpUrl$java$lang$String
- 
value$mergeCommitSha$java$lang$String
- 
isSet$mergeCommitSha$java$lang$Stringprotected boolean isSet$mergeCommitSha$java$lang$String
- 
value$mergeRequestTitle$java$lang$String
- 
isSet$mergeRequestTitle$java$lang$Stringprotected boolean isSet$mergeRequestTitle$java$lang$String
- 
value$mergeRequestDescription$java$lang$String
- 
isSet$mergeRequestDescription$java$lang$Stringprotected boolean isSet$mergeRequestDescription$java$lang$String
- 
value$mergeRequestId$java$lang$Integer
- 
isSet$mergeRequestId$java$lang$Integerprotected boolean isSet$mergeRequestId$java$lang$Integer
- 
value$mergeRequestIid$java$lang$Integer
- 
isSet$mergeRequestIid$java$lang$Integerprotected boolean isSet$mergeRequestIid$java$lang$Integer
- 
value$mergeRequestTargetProjectId$java$lang$Integer
- 
isSet$mergeRequestTargetProjectId$java$lang$Integerprotected boolean isSet$mergeRequestTargetProjectId$java$lang$Integer
- 
value$mergeRequestLabels$java$util$List
- 
isSet$mergeRequestLabels$java$util$Listprotected boolean isSet$mergeRequestLabels$java$util$List
- 
value$targetBranch$java$lang$String
- 
isSet$targetBranch$java$lang$Stringprotected boolean isSet$targetBranch$java$lang$String
- 
value$targetRepoName$java$lang$String
- 
isSet$targetRepoName$java$lang$Stringprotected boolean isSet$targetRepoName$java$lang$String
- 
value$targetNamespace$java$lang$String
- 
isSet$targetNamespace$java$lang$Stringprotected boolean isSet$targetNamespace$java$lang$String
- 
value$targetRepoSshUrl$java$lang$String
- 
isSet$targetRepoSshUrl$java$lang$Stringprotected boolean isSet$targetRepoSshUrl$java$lang$String
- 
value$targetRepoHttpUrl$java$lang$String
- 
isSet$targetRepoHttpUrl$java$lang$Stringprotected boolean isSet$targetRepoHttpUrl$java$lang$String
- 
value$triggeredByUser$java$lang$String
- 
isSet$triggeredByUser$java$lang$Stringprotected boolean isSet$triggeredByUser$java$lang$String
- 
value$before$java$lang$String
- 
isSet$before$java$lang$Stringprotected boolean isSet$before$java$lang$String
- 
value$after$java$lang$String
- 
isSet$after$java$lang$Stringprotected boolean isSet$after$java$lang$String
- 
value$lastCommit$java$lang$String
- 
isSet$lastCommit$java$lang$Stringprotected boolean isSet$lastCommit$java$lang$String
- 
value$targetProjectUrl$java$lang$String
- 
isSet$targetProjectUrl$java$lang$Stringprotected boolean isSet$targetProjectUrl$java$lang$String
- 
value$triggerPhrase$java$lang$String
- 
isSet$triggerPhrase$java$lang$Stringprotected boolean isSet$triggerPhrase$java$lang$String
- 
value$mergeRequestState$java$lang$String
- 
isSet$mergeRequestState$java$lang$Stringprotected boolean isSet$mergeRequestState$java$lang$String
- 
value$mergedByUser$java$lang$String
- 
isSet$mergedByUser$java$lang$Stringprotected boolean isSet$mergedByUser$java$lang$String
- 
value$mergeRequestAssignee$java$lang$String
- 
isSet$mergeRequestAssignee$java$lang$Stringprotected boolean isSet$mergeRequestAssignee$java$lang$String
- 
value$ref$java$lang$String
- 
isSet$ref$java$lang$Stringprotected boolean isSet$ref$java$lang$String
- 
value$isTag$java$lang$String
- 
isSet$isTag$java$lang$Stringprotected boolean isSet$isTag$java$lang$String
- 
value$sha$java$lang$String
- 
isSet$sha$java$lang$Stringprotected boolean isSet$sha$java$lang$String
- 
value$beforeSha$java$lang$String
- 
isSet$beforeSha$java$lang$Stringprotected boolean isSet$beforeSha$java$lang$String
- 
value$status$java$lang$String
- 
isSet$status$java$lang$Stringprotected boolean isSet$status$java$lang$String
- 
value$stages$java$lang$String
- 
isSet$stages$java$lang$Stringprotected boolean isSet$stages$java$lang$String
- 
value$createdAt$java$lang$String
- 
isSet$createdAt$java$lang$Stringprotected boolean isSet$createdAt$java$lang$String
- 
value$finishedAt$java$lang$String
- 
isSet$finishedAt$java$lang$Stringprotected boolean isSet$finishedAt$java$lang$String
- 
value$buildDuration$java$lang$String
- 
isSet$buildDuration$java$lang$Stringprotected boolean isSet$buildDuration$java$lang$String
- 
value$commentAuthor$java$lang$String
- 
isSet$commentAuthor$java$lang$Stringprotected boolean isSet$commentAuthor$java$lang$String
 
- 
- 
Constructor Details- 
CauseDataBuilderpublic CauseDataBuilder()Creates a newCauseDataBuilder.
 
- 
- 
Method Details- 
causeDataFactory Method to construct a CauseDataBuilder- Returns:
- a new CauseDataBuilder
 
- 
withActionTypeSets the default value for the actionType property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceProjectIdSets the default value for the sourceProjectId property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetProjectIdSets the default value for the targetProjectId property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withBranchSets the default value for the branch property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceBranchSets the default value for the sourceBranch property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withUserNameSets the default value for the userName property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withUserUsernameSets the default value for the userUsername property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withUserEmailSets the default value for the userEmail property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceRepoHomepageSets the default value for the sourceRepoHomepage property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceRepoNameSets the default value for the sourceRepoName property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceNamespaceSets the default value for the sourceNamespace property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceRepoUrlSets the default value for the sourceRepoUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceRepoSshUrlSets the default value for the sourceRepoSshUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withSourceRepoHttpUrlSets the default value for the sourceRepoHttpUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeCommitShaSets the default value for the mergeCommitSha property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestTitleSets the default value for the mergeRequestTitle property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestDescriptionSets the default value for the mergeRequestDescription property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestIdSets the default value for the mergeRequestId property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestIidSets the default value for the mergeRequestIid property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestTargetProjectIdSets the default value for the mergeRequestTargetProjectId property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestLabelsSets the default value for the mergeRequestLabels property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetBranchSets the default value for the targetBranch property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetRepoNameSets the default value for the targetRepoName property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetNamespaceSets the default value for the targetNamespace property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetRepoSshUrlSets the default value for the targetRepoSshUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetRepoHttpUrlSets the default value for the targetRepoHttpUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggeredByUserSets the default value for the triggeredByUser property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withBeforeSets the default value for the before property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withAfterSets the default value for the after property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withLastCommitSets the default value for the lastCommit property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTargetProjectUrlSets the default value for the targetProjectUrl property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withTriggerPhraseSets the default value for the triggerPhrase property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestStateSets the default value for the mergeRequestState property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergedByUserSets the default value for the mergedByUser property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withMergeRequestAssigneeSets the default value for the mergeRequestAssignee property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withRefSets the default value for the ref property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withIsTagSets the default value for the isTag property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withShaSets the default value for the sha property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withBeforeShaSets the default value for the beforeSha property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withStatusSets the default value for the status property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withStagesSets the default value for the stages property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withCreatedAtSets the default value for the createdAt property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withFinishedAtSets the default value for the finishedAt property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withBuildDurationSets the default value for the buildDuration property.- Parameters:
- value- the default value
- Returns:
- this builder
 
- 
withCommentAuthorSets the default value for the commentAuthor 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 newCauseDatabased on this builder's settings.- Returns:
- the created CauseData
 
 
-