Package com.gitee.jenkins.cause
Class CauseDataBuilder
- java.lang.Object
-
- com.gitee.jenkins.cause.CauseDataBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class CauseDataBuilder extends Object implements Cloneable
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CauseDataBuilder()
Creates a newCauseDataBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CauseData
build()
Creates a newCauseData
based on this builder's settings.CauseDataBuilder
but()
Returns a clone of this builder.static CauseDataBuilder
causeData()
Factory Method to construct a CauseDataBuilderObject
clone()
Returns a clone of this builder.CauseDataBuilder
withActionType(CauseData.ActionType value)
Sets the default value for the actionType property.CauseDataBuilder
withAfter(String value)
Sets the default value for the after property.CauseDataBuilder
withBefore(String value)
Sets the default value for the before property.CauseDataBuilder
withBeforeSha(String value)
Sets the default value for the beforeSha property.CauseDataBuilder
withBranch(String value)
Sets the default value for the branch property.CauseDataBuilder
withBuildDuration(String value)
Sets the default value for the buildDuration property.CauseDataBuilder
withCreated(boolean value)
Sets the default value for the created property.CauseDataBuilder
withCreatedAt(String value)
Sets the default value for the createdAt property.CauseDataBuilder
withDeleted(boolean value)
Sets the default value for the deleted property.CauseDataBuilder
withFinishedAt(String value)
Sets the default value for the finishedAt property.CauseDataBuilder
withIsTag(String value)
Sets the default value for the isTag property.CauseDataBuilder
withJsonBody(String value)
Sets the default value for the jsonBody property.CauseDataBuilder
withLastCommit(String value)
Sets the default value for the lastCommit property.CauseDataBuilder
withMergedByUser(String value)
Sets the default value for the mergedByUser property.CauseDataBuilder
withNoteBody(String value)
Sets the default value for the noteBody property.CauseDataBuilder
withPathWithNamespace(String value)
Sets the default value for the pathWithNamespace property.CauseDataBuilder
withPullRequestAssignee(String value)
Sets the default value for the pullRequestAssignee property.CauseDataBuilder
withPullRequestDescription(String value)
Sets the default value for the pullRequestDescription property.CauseDataBuilder
withPullRequestId(Integer value)
Sets the default value for the pullRequestId property.CauseDataBuilder
withPullRequestIid(Integer value)
Sets the default value for the pullRequestIid property.CauseDataBuilder
withPullRequestState(String value)
Sets the default value for the pullRequestState property.CauseDataBuilder
withPullRequestTargetProjectId(Integer value)
Sets the default value for the pullRequestTargetProjectId property.CauseDataBuilder
withPullRequestTitle(String value)
Sets the default value for the pullRequestTitle property.CauseDataBuilder
withRef(String value)
Sets the default value for the ref property.CauseDataBuilder
withSha(String value)
Sets the default value for the sha property.CauseDataBuilder
withSourceBranch(String value)
Sets the default value for the sourceBranch property.CauseDataBuilder
withSourceNamespace(String value)
Sets the default value for the sourceNamespace property.CauseDataBuilder
withSourceProjectId(Integer value)
Sets the default value for the sourceProjectId property.CauseDataBuilder
withSourceRepoHomepage(String value)
Sets the default value for the sourceRepoHomepage property.CauseDataBuilder
withSourceRepoHttpUrl(String value)
Sets the default value for the sourceRepoHttpUrl property.CauseDataBuilder
withSourceRepoName(String value)
Sets the default value for the sourceRepoName property.CauseDataBuilder
withSourceRepoSshUrl(String value)
Sets the default value for the sourceRepoSshUrl property.CauseDataBuilder
withSourceRepoUrl(String value)
Sets the default value for the sourceRepoUrl property.CauseDataBuilder
withStages(String value)
Sets the default value for the stages property.CauseDataBuilder
withStatus(String value)
Sets the default value for the status property.CauseDataBuilder
withTargetBranch(String value)
Sets the default value for the targetBranch property.CauseDataBuilder
withTargetNamespace(String value)
Sets the default value for the targetNamespace property.CauseDataBuilder
withTargetProjectId(Integer value)
Sets the default value for the targetProjectId property.CauseDataBuilder
withTargetProjectUrl(String value)
Sets the default value for the targetProjectUrl property.CauseDataBuilder
withTargetRepoHttpUrl(String value)
Sets the default value for the targetRepoHttpUrl property.CauseDataBuilder
withTargetRepoName(String value)
Sets the default value for the targetRepoName property.CauseDataBuilder
withTargetRepoSshUrl(String value)
Sets the default value for the targetRepoSshUrl property.CauseDataBuilder
withTriggeredByUser(String value)
Sets the default value for the triggeredByUser property.CauseDataBuilder
withTriggerPhrase(String value)
Sets the default value for the triggerPhrase property.CauseDataBuilder
withUserEmail(String value)
Sets the default value for the userEmail property.CauseDataBuilder
withUserName(String value)
Sets the default value for the userName property.
-
-
-
Field Detail
-
self
protected CauseDataBuilder self
-
value$actionType$com$gitee$jenkins$cause$CauseData$ActionType
protected CauseData.ActionType value$actionType$com$gitee$jenkins$cause$CauseData$ActionType
-
isSet$actionType$com$gitee$jenkins$cause$CauseData$ActionType
protected boolean isSet$actionType$com$gitee$jenkins$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$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$pullRequestTitle$java$lang$String
protected String value$pullRequestTitle$java$lang$String
-
isSet$pullRequestTitle$java$lang$String
protected boolean isSet$pullRequestTitle$java$lang$String
-
value$pullRequestDescription$java$lang$String
protected String value$pullRequestDescription$java$lang$String
-
isSet$pullRequestDescription$java$lang$String
protected boolean isSet$pullRequestDescription$java$lang$String
-
value$pullRequestId$java$lang$Integer
protected Integer value$pullRequestId$java$lang$Integer
-
isSet$pullRequestId$java$lang$Integer
protected boolean isSet$pullRequestId$java$lang$Integer
-
value$pullRequestIid$java$lang$Integer
protected Integer value$pullRequestIid$java$lang$Integer
-
isSet$pullRequestIid$java$lang$Integer
protected boolean isSet$pullRequestIid$java$lang$Integer
-
value$pullRequestTargetProjectId$java$lang$Integer
protected Integer value$pullRequestTargetProjectId$java$lang$Integer
-
isSet$pullRequestTargetProjectId$java$lang$Integer
protected boolean isSet$pullRequestTargetProjectId$java$lang$Integer
-
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$pullRequestState$java$lang$String
protected String value$pullRequestState$java$lang$String
-
isSet$pullRequestState$java$lang$String
protected boolean isSet$pullRequestState$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$pullRequestAssignee$java$lang$String
protected String value$pullRequestAssignee$java$lang$String
-
isSet$pullRequestAssignee$java$lang$String
protected boolean isSet$pullRequestAssignee$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$pathWithNamespace$java$lang$String
protected String value$pathWithNamespace$java$lang$String
-
isSet$pathWithNamespace$java$lang$String
protected boolean isSet$pathWithNamespace$java$lang$String
-
value$created$boolean
protected boolean value$created$boolean
-
isSet$created$boolean
protected boolean isSet$created$boolean
-
value$deleted$boolean
protected boolean value$deleted$boolean
-
isSet$deleted$boolean
protected boolean isSet$deleted$boolean
-
value$jsonBody$java$lang$String
protected String value$jsonBody$java$lang$String
-
isSet$jsonBody$java$lang$String
protected boolean isSet$jsonBody$java$lang$String
-
value$noteBody$java$lang$String
protected String value$noteBody$java$lang$String
-
isSet$noteBody$java$lang$String
protected boolean isSet$noteBody$java$lang$String
-
-
Constructor Detail
-
CauseDataBuilder
public CauseDataBuilder()
Creates a newCauseDataBuilder
.
-
-
Method Detail
-
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
-
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
-
withPullRequestTitle
public CauseDataBuilder withPullRequestTitle(String value)
Sets the default value for the pullRequestTitle property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPullRequestDescription
public CauseDataBuilder withPullRequestDescription(String value)
Sets the default value for the pullRequestDescription property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPullRequestId
public CauseDataBuilder withPullRequestId(Integer value)
Sets the default value for the pullRequestId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPullRequestIid
public CauseDataBuilder withPullRequestIid(Integer value)
Sets the default value for the pullRequestIid property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPullRequestTargetProjectId
public CauseDataBuilder withPullRequestTargetProjectId(Integer value)
Sets the default value for the pullRequestTargetProjectId 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
-
withPullRequestState
public CauseDataBuilder withPullRequestState(String value)
Sets the default value for the pullRequestState 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
-
withPullRequestAssignee
public CauseDataBuilder withPullRequestAssignee(String value)
Sets the default value for the pullRequestAssignee 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
-
withPathWithNamespace
public CauseDataBuilder withPathWithNamespace(String value)
Sets the default value for the pathWithNamespace property.- Parameters:
value
- the default value- Returns:
- this builder
-
withCreated
public CauseDataBuilder withCreated(boolean value)
Sets the default value for the created property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDeleted
public CauseDataBuilder withDeleted(boolean value)
Sets the default value for the deleted property.- Parameters:
value
- the default value- Returns:
- this builder
-
withJsonBody
public CauseDataBuilder withJsonBody(String value)
Sets the default value for the jsonBody property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNoteBody
public CauseDataBuilder withNoteBody(String value)
Sets the default value for the noteBody property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public CauseDataBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
-