Class RepositoryBuilder
java.lang.Object
com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.RepositoryBuilder
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected RepositoryBuilder
protected String
protected String
protected String
protected String
protected String
protected String
protected Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newRepository
based on this builder's settings.but()
Returns a clone of this builder.clone()
Returns a clone of this builder.static RepositoryBuilder
Factory Method to construct a RepositoryBuilderwithDescription
(String value) Sets the default value for the description property.withGitHttpUrl
(String value) Sets the default value for the gitHttpUrl property.withGitSshUrl
(String value) Sets the default value for the gitSshUrl property.withHomepage
(String value) Sets the default value for the homepage property.Sets the default value for the name property.Sets the default value for the url property.withVisibilityLevel
(Integer value) Sets the default value for the visibilityLevel 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$url$java$lang$String
-
isSet$url$java$lang$String
protected boolean isSet$url$java$lang$String -
value$homepage$java$lang$String
-
isSet$homepage$java$lang$String
protected boolean isSet$homepage$java$lang$String -
value$gitSshUrl$java$lang$String
-
isSet$gitSshUrl$java$lang$String
protected boolean isSet$gitSshUrl$java$lang$String -
value$gitHttpUrl$java$lang$String
-
isSet$gitHttpUrl$java$lang$String
protected boolean isSet$gitHttpUrl$java$lang$String -
value$visibilityLevel$java$lang$Integer
-
isSet$visibilityLevel$java$lang$Integer
protected boolean isSet$visibilityLevel$java$lang$Integer
-
-
Constructor Details
-
RepositoryBuilder
public RepositoryBuilder()Creates a newRepositoryBuilder
.
-
-
Method Details
-
repository
Factory Method to construct a RepositoryBuilder- Returns:
- a new RepositoryBuilder
-
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
-
withUrl
Sets the default value for the url 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
-
withGitSshUrl
Sets the default value for the gitSshUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withGitHttpUrl
Sets the default value for the gitHttpUrl 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
-
clone
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
Creates a newRepository
based on this builder's settings.- Returns:
- the created Repository
-