Class RepositoryBuilder
- java.lang.Object
-
- com.dabsquared.gitlabjenkins.gitlab.hook.model.builder.generated.RepositoryBuilder
-
- All Implemented Interfaces:
Cloneable
@Generated("PojoBuilder") public class RepositoryBuilder extends Object implements Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isSet$description$java$lang$String
protected boolean
isSet$gitHttpUrl$java$lang$String
protected boolean
isSet$gitSshUrl$java$lang$String
protected boolean
isSet$homepage$java$lang$String
protected boolean
isSet$name$java$lang$String
protected boolean
isSet$url$java$lang$String
protected boolean
isSet$visibilityLevel$java$lang$Integer
protected RepositoryBuilder
self
protected String
value$description$java$lang$String
protected String
value$gitHttpUrl$java$lang$String
protected String
value$gitSshUrl$java$lang$String
protected String
value$homepage$java$lang$String
protected String
value$name$java$lang$String
protected String
value$url$java$lang$String
protected Integer
value$visibilityLevel$java$lang$Integer
-
Constructor Summary
Constructors Constructor Description RepositoryBuilder()
Creates a newRepositoryBuilder
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Repository
build()
Creates a newRepository
based on this builder's settings.RepositoryBuilder
but()
Returns a clone of this builder.Object
clone()
Returns a clone of this builder.static RepositoryBuilder
repository()
Factory Method to construct a RepositoryBuilderRepositoryBuilder
withDescription(String value)
Sets the default value for the description property.RepositoryBuilder
withGitHttpUrl(String value)
Sets the default value for the gitHttpUrl property.RepositoryBuilder
withGitSshUrl(String value)
Sets the default value for the gitSshUrl property.RepositoryBuilder
withHomepage(String value)
Sets the default value for the homepage property.RepositoryBuilder
withName(String value)
Sets the default value for the name property.RepositoryBuilder
withUrl(String value)
Sets the default value for the url property.RepositoryBuilder
withVisibilityLevel(Integer value)
Sets the default value for the visibilityLevel property.
-
-
-
Field Detail
-
self
protected RepositoryBuilder self
-
value$name$java$lang$String
protected String value$name$java$lang$String
-
isSet$name$java$lang$String
protected boolean isSet$name$java$lang$String
-
value$description$java$lang$String
protected String value$description$java$lang$String
-
isSet$description$java$lang$String
protected boolean isSet$description$java$lang$String
-
value$url$java$lang$String
protected String value$url$java$lang$String
-
isSet$url$java$lang$String
protected boolean isSet$url$java$lang$String
-
value$homepage$java$lang$String
protected String value$homepage$java$lang$String
-
isSet$homepage$java$lang$String
protected boolean isSet$homepage$java$lang$String
-
value$gitSshUrl$java$lang$String
protected String value$gitSshUrl$java$lang$String
-
isSet$gitSshUrl$java$lang$String
protected boolean isSet$gitSshUrl$java$lang$String
-
value$gitHttpUrl$java$lang$String
protected String value$gitHttpUrl$java$lang$String
-
isSet$gitHttpUrl$java$lang$String
protected boolean isSet$gitHttpUrl$java$lang$String
-
value$visibilityLevel$java$lang$Integer
protected Integer value$visibilityLevel$java$lang$Integer
-
isSet$visibilityLevel$java$lang$Integer
protected boolean isSet$visibilityLevel$java$lang$Integer
-
-
Constructor Detail
-
RepositoryBuilder
public RepositoryBuilder()
Creates a newRepositoryBuilder
.
-
-
Method Detail
-
repository
public static RepositoryBuilder repository()
Factory Method to construct a RepositoryBuilder- Returns:
- a new RepositoryBuilder
-
withName
public RepositoryBuilder withName(String value)
Sets the default value for the name property.- Parameters:
value
- the default value- Returns:
- this builder
-
withDescription
public RepositoryBuilder withDescription(String value)
Sets the default value for the description property.- Parameters:
value
- the default value- Returns:
- this builder
-
withUrl
public RepositoryBuilder withUrl(String value)
Sets the default value for the url property.- Parameters:
value
- the default value- Returns:
- this builder
-
withHomepage
public RepositoryBuilder withHomepage(String value)
Sets the default value for the homepage property.- Parameters:
value
- the default value- Returns:
- this builder
-
withGitSshUrl
public RepositoryBuilder withGitSshUrl(String value)
Sets the default value for the gitSshUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withGitHttpUrl
public RepositoryBuilder withGitHttpUrl(String value)
Sets the default value for the gitHttpUrl property.- Parameters:
value
- the default value- Returns:
- this builder
-
withVisibilityLevel
public RepositoryBuilder withVisibilityLevel(Integer value)
Sets the default value for the visibilityLevel property.- Parameters:
value
- the default value- Returns:
- this builder
-
clone
@GwtIncompatible public Object clone()
Returns a clone of this builder.
-
but
@GwtIncompatible public RepositoryBuilder but()
Returns a clone of this builder.- Returns:
- the clone
-
build
public Repository build()
Creates a newRepository
based on this builder's settings.- Returns:
- the created Repository
-
-