@Generated(value="PojoBuilder") public class ProjectBuilder extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isSet$httpUrlToRepo$java$lang$String |
protected boolean |
isSet$id$java$lang$Integer |
protected boolean |
isSet$name$java$lang$String |
protected boolean |
isSet$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace |
protected boolean |
isSet$sshUrlToRepo$java$lang$String |
protected boolean |
isSet$webUrl$java$lang$String |
protected ProjectBuilder |
self |
protected String |
value$httpUrlToRepo$java$lang$String |
protected Integer |
value$id$java$lang$Integer |
protected String |
value$name$java$lang$String |
protected Namespace |
value$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace |
protected String |
value$sshUrlToRepo$java$lang$String |
protected String |
value$webUrl$java$lang$String |
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 |
withHttpUrlToRepo(String value)
Sets the default value for the httpUrlToRepo 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(Namespace value)
Sets the default value for the namespace property.
|
ProjectBuilder |
withSshUrlToRepo(String value)
Sets the default value for the sshUrlToRepo property.
|
ProjectBuilder |
withWebUrl(String value)
Sets the default value for the webUrl property.
|
protected ProjectBuilder self
protected Integer value$id$java$lang$Integer
protected boolean isSet$id$java$lang$Integer
protected String value$name$java$lang$String
protected boolean isSet$name$java$lang$String
protected Namespace value$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace
protected boolean isSet$namespace$com$dabsquared$gitlabjenkins$gitlab$api$model$Namespace
protected String value$webUrl$java$lang$String
protected boolean isSet$webUrl$java$lang$String
protected String value$sshUrlToRepo$java$lang$String
protected boolean isSet$sshUrlToRepo$java$lang$String
protected String value$httpUrlToRepo$java$lang$String
protected boolean isSet$httpUrlToRepo$java$lang$String
public ProjectBuilder()
ProjectBuilder
.public static ProjectBuilder project()
public ProjectBuilder withId(Integer value)
value
- the default valuepublic ProjectBuilder withName(String value)
value
- the default valuepublic ProjectBuilder withNamespace(Namespace value)
value
- the default valuepublic ProjectBuilder withWebUrl(String value)
value
- the default valuepublic ProjectBuilder withSshUrlToRepo(String value)
value
- the default valuepublic ProjectBuilder withHttpUrlToRepo(String value)
value
- the default value@GwtIncompatible public Object clone()
@GwtIncompatible public ProjectBuilder but()
Copyright © 2016–2022. All rights reserved.