@Generated(value="PojoBuilder") public class ProjectBuilder extends Object implements Cloneable
Constructor and Description |
---|
ProjectBuilder()
Creates a new
ProjectBuilder . |
Modifier and Type | Method and Description |
---|---|
Project |
build()
Creates a new
Project based on this builder's settings. |
ProjectBuilder |
but()
Returns a clone of this builder.
|
Object |
clone()
Returns a clone of this builder.
|
static ProjectBuilder |
project()
Factory Method to construct a ProjectBuilder
|
ProjectBuilder |
withAvatarUrl(String value)
Sets the default value for the avatarUrl property.
|
ProjectBuilder |
withDefaultBranch(String value)
Sets the default value for the defaultBranch property.
|
ProjectBuilder |
withDescription(String value)
Sets the default value for the description property.
|
ProjectBuilder |
withHomepage(String value)
Sets the default value for the homepage property.
|
ProjectBuilder |
withHttpUrl(String value)
Sets the default value for the httpUrl property.
|
ProjectBuilder |
withId(Integer value)
Sets the default value for the id property.
|
ProjectBuilder |
withName(String value)
Sets the default value for the name property.
|
ProjectBuilder |
withNamespace(String value)
Sets the default value for the namespace property.
|
ProjectBuilder |
withPathWithNamespace(String value)
Sets the default value for the pathWithNamespace property.
|
ProjectBuilder |
withSshUrl(String value)
Sets the default value for the sshUrl property.
|
ProjectBuilder |
withUrl(String value)
Sets the default value for the url property.
|
ProjectBuilder |
withVisibilityLevel(Integer value)
Sets the default value for the visibilityLevel property.
|
ProjectBuilder |
withWebUrl(String value)
Sets the default value for the webUrl property.
|
protected ProjectBuilder 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$webUrl$java$lang$String
protected boolean isSet$webUrl$java$lang$String
protected String value$avatarUrl$java$lang$String
protected boolean isSet$avatarUrl$java$lang$String
protected String value$namespace$java$lang$String
protected boolean isSet$namespace$java$lang$String
protected Integer value$visibilityLevel$java$lang$Integer
protected boolean isSet$visibilityLevel$java$lang$Integer
protected String value$pathWithNamespace$java$lang$String
protected boolean isSet$pathWithNamespace$java$lang$String
protected String value$defaultBranch$java$lang$String
protected boolean isSet$defaultBranch$java$lang$String
protected String value$homepage$java$lang$String
protected boolean isSet$homepage$java$lang$String
protected String value$url$java$lang$String
protected boolean isSet$url$java$lang$String
protected String value$sshUrl$java$lang$String
protected boolean isSet$sshUrl$java$lang$String
protected String value$httpUrl$java$lang$String
protected boolean isSet$httpUrl$java$lang$String
protected Integer value$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
public ProjectBuilder()
ProjectBuilder
.public static ProjectBuilder project()
public ProjectBuilder withName(String value)
value
- the default valuepublic ProjectBuilder withDescription(String value)
value
- the default valuepublic ProjectBuilder withWebUrl(String value)
value
- the default valuepublic ProjectBuilder withAvatarUrl(String value)
value
- the default valuepublic ProjectBuilder withNamespace(String value)
value
- the default valuepublic ProjectBuilder withVisibilityLevel(Integer value)
value
- the default valuepublic ProjectBuilder withPathWithNamespace(String value)
value
- the default valuepublic ProjectBuilder withDefaultBranch(String value)
value
- the default valuepublic ProjectBuilder withHomepage(String value)
value
- the default valuepublic ProjectBuilder withUrl(String value)
value
- the default valuepublic ProjectBuilder withSshUrl(String value)
value
- the default valuepublic ProjectBuilder withHttpUrl(String value)
value
- the default valuepublic ProjectBuilder withId(Integer value)
value
- the default value@GwtIncompatible public Object clone()
@GwtIncompatible public ProjectBuilder but()
Copyright © 2016–2022. All rights reserved.