@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
Project.avatarUrl property. |
ProjectBuilder |
withDefaultBranch(String value)
Sets the default value for the
Project.defaultBranch property. |
ProjectBuilder |
withDescription(String value)
Sets the default value for the
Project.description property. |
ProjectBuilder |
withHomepage(String value)
Sets the default value for the
Project.homepage property. |
ProjectBuilder |
withHttpUrl(String value)
Sets the default value for the
Project.httpUrl property. |
ProjectBuilder |
withName(String value)
Sets the default value for the
Project.name property. |
ProjectBuilder |
withNamespace(String value)
Sets the default value for the
Project.namespace property. |
ProjectBuilder |
withPathWithNamespace(String value)
Sets the default value for the
Project.pathWithNamespace property. |
ProjectBuilder |
withSshUrl(String value)
Sets the default value for the
Project.sshUrl property. |
ProjectBuilder |
withUrl(String value)
Sets the default value for the
Project.url property. |
ProjectBuilder |
withVisibilityLevel(Integer value)
Sets the default value for the
Project.visibilityLevel property. |
ProjectBuilder |
withWebUrl(String value)
Sets the default value for the
Project.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
public ProjectBuilder()
ProjectBuilder
.public static ProjectBuilder project()
public ProjectBuilder withName(String value)
Project.name
property.value
- the default valuepublic ProjectBuilder withDescription(String value)
Project.description
property.value
- the default valuepublic ProjectBuilder withWebUrl(String value)
Project.webUrl
property.value
- the default valuepublic ProjectBuilder withAvatarUrl(String value)
Project.avatarUrl
property.value
- the default valuepublic ProjectBuilder withNamespace(String value)
Project.namespace
property.value
- the default valuepublic ProjectBuilder withVisibilityLevel(Integer value)
Project.visibilityLevel
property.value
- the default valuepublic ProjectBuilder withPathWithNamespace(String value)
Project.pathWithNamespace
property.value
- the default valuepublic ProjectBuilder withDefaultBranch(String value)
Project.defaultBranch
property.value
- the default valuepublic ProjectBuilder withHomepage(String value)
Project.homepage
property.value
- the default valuepublic ProjectBuilder withUrl(String value)
Project.url
property.value
- the default valuepublic ProjectBuilder withSshUrl(String value)
Project.sshUrl
property.value
- the default valuepublic ProjectBuilder withHttpUrl(String value)
Project.httpUrl
property.value
- the default valuepublic Object clone()
public ProjectBuilder but()
Copyright © 2016. All rights reserved.