Class ProjectHookBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.ProjectHookBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier 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 ProjectHookBuilder
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected Integer
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected String
protected Boolean
protected String
protected Boolean
protected Boolean
protected Boolean
protected String
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newProjectHook
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static ProjectHookBuilder
Factory Method to construct a ProjectHookBuilderSets the default value for the confidentialIssuesEvents property.Sets the default value for the confidentialNoteEvents property.withDeploymentEvents
(Boolean value) Sets the default value for the deploymentEvents property.withEnableSslVerification
(Boolean value) Sets the default value for the enableSslVerification property.Sets the default value for the id property.withIssuesEvents
(Boolean value) Sets the default value for the issuesEvents property.withJobEvents
(Boolean value) Sets the default value for the jobEvents property.withMergeRequestsEvents
(Boolean value) Sets the default value for the mergeRequestsEvents property.withNoteEvents
(Boolean value) Sets the default value for the noteEvents property.withPipelineEvents
(Boolean value) Sets the default value for the pipelineEvents property.withProjectId
(String value) Sets the default value for the projectId property.withPushEvents
(Boolean value) Sets the default value for the pushEvents property.withPushEventsBranchFilter
(String value) Sets the default value for the pushEventsBranchFilter property.withReleasesEvents
(Boolean value) Sets the default value for the releasesEvents property.Sets the default value for the repositoryUpdateEvents property.withTagPushEvents
(Boolean value) Sets the default value for the tagPushEvents property.Sets the default value for the url property.withWikiPageEvents
(Boolean value) Sets the default value for the wikiPageEvents property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$projectId$java$lang$String
-
isSet$projectId$java$lang$String
protected boolean isSet$projectId$java$lang$String -
value$url$java$lang$String
-
isSet$url$java$lang$String
protected boolean isSet$url$java$lang$String -
value$pushEvents$java$lang$Boolean
-
isSet$pushEvents$java$lang$Boolean
protected boolean isSet$pushEvents$java$lang$Boolean -
value$tagPushEvents$java$lang$Boolean
-
isSet$tagPushEvents$java$lang$Boolean
protected boolean isSet$tagPushEvents$java$lang$Boolean -
value$mergeRequestsEvents$java$lang$Boolean
-
isSet$mergeRequestsEvents$java$lang$Boolean
protected boolean isSet$mergeRequestsEvents$java$lang$Boolean -
value$repositoryUpdateEvents$java$lang$Boolean
-
isSet$repositoryUpdateEvents$java$lang$Boolean
protected boolean isSet$repositoryUpdateEvents$java$lang$Boolean -
value$issuesEvents$java$lang$Boolean
-
isSet$issuesEvents$java$lang$Boolean
protected boolean isSet$issuesEvents$java$lang$Boolean -
value$confidentialIssuesEvents$java$lang$Boolean
-
isSet$confidentialIssuesEvents$java$lang$Boolean
protected boolean isSet$confidentialIssuesEvents$java$lang$Boolean -
value$noteEvents$java$lang$Boolean
-
isSet$noteEvents$java$lang$Boolean
protected boolean isSet$noteEvents$java$lang$Boolean -
value$confidentialNoteEvents$java$lang$Boolean
-
isSet$confidentialNoteEvents$java$lang$Boolean
protected boolean isSet$confidentialNoteEvents$java$lang$Boolean -
value$pipelineEvents$java$lang$Boolean
-
isSet$pipelineEvents$java$lang$Boolean
protected boolean isSet$pipelineEvents$java$lang$Boolean -
value$wikiPageEvents$java$lang$Boolean
-
isSet$wikiPageEvents$java$lang$Boolean
protected boolean isSet$wikiPageEvents$java$lang$Boolean -
value$deploymentEvents$java$lang$Boolean
-
isSet$deploymentEvents$java$lang$Boolean
protected boolean isSet$deploymentEvents$java$lang$Boolean -
value$jobEvents$java$lang$Boolean
-
isSet$jobEvents$java$lang$Boolean
protected boolean isSet$jobEvents$java$lang$Boolean -
value$releasesEvents$java$lang$Boolean
-
isSet$releasesEvents$java$lang$Boolean
protected boolean isSet$releasesEvents$java$lang$Boolean -
value$pushEventsBranchFilter$java$lang$String
-
isSet$pushEventsBranchFilter$java$lang$String
protected boolean isSet$pushEventsBranchFilter$java$lang$String -
value$enableSslVerification$java$lang$Boolean
-
isSet$enableSslVerification$java$lang$Boolean
protected boolean isSet$enableSslVerification$java$lang$Boolean
-
-
Constructor Details
-
ProjectHookBuilder
public ProjectHookBuilder()Creates a newProjectHookBuilder
.
-
-
Method Details
-
projectHook
Factory Method to construct a ProjectHookBuilder- Returns:
- a new ProjectHookBuilder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withProjectId
Sets the default value for the projectId property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUrl
Sets the default value for the url property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPushEvents
Sets the default value for the pushEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withTagPushEvents
Sets the default value for the tagPushEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withMergeRequestsEvents
Sets the default value for the mergeRequestsEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withRepositoryUpdateEvents
Sets the default value for the repositoryUpdateEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withIssuesEvents
Sets the default value for the issuesEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withConfidentialIssuesEvents
Sets the default value for the confidentialIssuesEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNoteEvents
Sets the default value for the noteEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withConfidentialNoteEvents
Sets the default value for the confidentialNoteEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPipelineEvents
Sets the default value for the pipelineEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withWikiPageEvents
Sets the default value for the wikiPageEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDeploymentEvents
Sets the default value for the deploymentEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withJobEvents
Sets the default value for the jobEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withReleasesEvents
Sets the default value for the releasesEvents property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPushEventsBranchFilter
Sets the default value for the pushEventsBranchFilter property.- Parameters:
value
- the default value- Returns:
- this builder
-
withEnableSslVerification
Sets the default value for the enableSslVerification 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 newProjectHook
based on this builder's settings.- Returns:
- the created ProjectHook
-