@Generated(value="PojoBuilder") public class RepositoryBuilder extends Object implements Cloneable
Modifier and Type | Field and 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 and Description |
---|
RepositoryBuilder()
Creates a new
RepositoryBuilder . |
Modifier and Type | Method and Description |
---|---|
Repository |
build()
Creates a new
Repository 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 RepositoryBuilder
|
RepositoryBuilder |
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.
|
protected RepositoryBuilder self
protected String value$name$java$lang$String
protected boolean isSet$name$java$lang$String
protected String value$description$java$lang$String
protected boolean isSet$description$java$lang$String
protected String value$url$java$lang$String
protected boolean isSet$url$java$lang$String
protected String value$homepage$java$lang$String
protected boolean isSet$homepage$java$lang$String
protected String value$gitSshUrl$java$lang$String
protected boolean isSet$gitSshUrl$java$lang$String
protected String value$gitHttpUrl$java$lang$String
protected boolean isSet$gitHttpUrl$java$lang$String
protected Integer value$visibilityLevel$java$lang$Integer
protected boolean isSet$visibilityLevel$java$lang$Integer
public RepositoryBuilder()
RepositoryBuilder
.public static RepositoryBuilder repository()
public RepositoryBuilder withName(String value)
value
- the default valuepublic RepositoryBuilder withDescription(String value)
value
- the default valuepublic RepositoryBuilder withUrl(String value)
value
- the default valuepublic RepositoryBuilder withHomepage(String value)
value
- the default valuepublic RepositoryBuilder withGitSshUrl(String value)
value
- the default valuepublic RepositoryBuilder withGitHttpUrl(String value)
value
- the default valuepublic RepositoryBuilder withVisibilityLevel(Integer value)
value
- the default value@GwtIncompatible public Object clone()
@GwtIncompatible public RepositoryBuilder but()
public Repository build()
Repository
based on this builder's settings.Copyright © 2016–2022. All rights reserved.