Class ProjectBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.ProjectBuilder
- 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 ProjectBuilder
protected String
protected String
protected String
protected String
protected String
protected Integer
protected String
protected String
protected String
protected String
protected String
protected Integer
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newProject
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static ProjectBuilder
project()
Factory Method to construct a ProjectBuilderwithAvatarUrl
(String value) Sets the default value for the avatarUrl property.withDefaultBranch
(String value) Sets the default value for the defaultBranch property.withDescription
(String value) Sets the default value for the description property.withHomepage
(String value) Sets the default value for the homepage property.withHttpUrl
(String value) Sets the default value for the httpUrl property.Sets the default value for the id property.Sets the default value for the name property.withNamespace
(String value) Sets the default value for the namespace property.withPathWithNamespace
(String value) Sets the default value for the pathWithNamespace property.withSshUrl
(String value) Sets the default value for the sshUrl property.Sets the default value for the url property.withVisibilityLevel
(Integer value) Sets the default value for the visibilityLevel property.withWebUrl
(String value) Sets the default value for the webUrl property.
-
Field Details
-
self
-
value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$java$lang$String -
value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String -
value$webUrl$java$lang$String
-
isSet$webUrl$java$lang$String
protected boolean isSet$webUrl$java$lang$String -
value$avatarUrl$java$lang$String
-
isSet$avatarUrl$java$lang$String
protected boolean isSet$avatarUrl$java$lang$String -
value$namespace$java$lang$String
-
isSet$namespace$java$lang$String
protected boolean isSet$namespace$java$lang$String -
value$visibilityLevel$java$lang$Integer
-
isSet$visibilityLevel$java$lang$Integer
protected boolean isSet$visibilityLevel$java$lang$Integer -
value$pathWithNamespace$java$lang$String
-
isSet$pathWithNamespace$java$lang$String
protected boolean isSet$pathWithNamespace$java$lang$String -
value$defaultBranch$java$lang$String
-
isSet$defaultBranch$java$lang$String
protected boolean isSet$defaultBranch$java$lang$String -
value$homepage$java$lang$String
-
isSet$homepage$java$lang$String
protected boolean isSet$homepage$java$lang$String -
value$url$java$lang$String
-
isSet$url$java$lang$String
protected boolean isSet$url$java$lang$String -
value$sshUrl$java$lang$String
-
isSet$sshUrl$java$lang$String
protected boolean isSet$sshUrl$java$lang$String -
value$httpUrl$java$lang$String
-
isSet$httpUrl$java$lang$String
protected boolean isSet$httpUrl$java$lang$String -
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
-
-
Constructor Details
-
ProjectBuilder
public ProjectBuilder()Creates a newProjectBuilder
.
-
-
Method Details
-
project
Factory Method to construct a ProjectBuilder- Returns:
- a new ProjectBuilder
-
withName
Sets the default value for the name property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDescription
Sets the default value for the description property.- Parameters:
value
- the default value- Returns:
- this builder
-
withWebUrl
Sets the default value for the webUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withAvatarUrl
Sets the default value for the avatarUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withNamespace
Sets the default value for the namespace property.- Parameters:
value
- the default value- Returns:
- this builder
-
withVisibilityLevel
Sets the default value for the visibilityLevel property.- Parameters:
value
- the default value- Returns:
- this builder
-
withPathWithNamespace
Sets the default value for the pathWithNamespace property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDefaultBranch
Sets the default value for the defaultBranch property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHomepage
Sets the default value for the homepage 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
-
withSshUrl
Sets the default value for the sshUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHttpUrl
Sets the default value for the httpUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withId
Sets the default value for the id 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 newProject
based on this builder's settings.- Returns:
- the created Project
-