Class ProjectBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.api.model.builder.generated.ProjectBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
-
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 ProjectBuilderwithHttpUrlToRepo
(String value) Sets the default value for the httpUrlToRepo property.Sets the default value for the id property.Sets the default value for the name property.withNamespace
(Namespace value) Sets the default value for the namespace property.withSshUrlToRepo
(String value) Sets the default value for the sshUrlToRepo property.withWebUrl
(String value) Sets the default value for the webUrl property.
-
Field Details
-
self
-
value$id$java$lang$Integer
-
isSet$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer -
value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$java$lang$String -
value$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace
-
isSet$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace
protected boolean isSet$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace -
value$webUrl$java$lang$String
-
isSet$webUrl$java$lang$String
protected boolean isSet$webUrl$java$lang$String -
value$sshUrlToRepo$java$lang$String
-
isSet$sshUrlToRepo$java$lang$String
protected boolean isSet$sshUrlToRepo$java$lang$String -
value$httpUrlToRepo$java$lang$String
-
isSet$httpUrlToRepo$java$lang$String
protected boolean isSet$httpUrlToRepo$java$lang$String
-
-
Constructor Details
-
ProjectBuilder
public ProjectBuilder()Creates a newProjectBuilder
.
-
-
Method Details
-
project
Factory Method to construct a ProjectBuilder- Returns:
- a new ProjectBuilder
-
withId
Sets the default value for the id property.- Parameters:
value
- the default value- Returns:
- this builder
-
withName
Sets the default value for the name 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
-
withWebUrl
Sets the default value for the webUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withSshUrlToRepo
Sets the default value for the sshUrlToRepo property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHttpUrlToRepo
Sets the default value for the httpUrlToRepo 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
-